I am trying to pull the maximum value form a map along with its key. For example:
val map = Map('a' -> 100, 'b' -> 23, ... 'z' -> 56)
Where 100 is the largest value, how would I go about pulling ('a',100)? I essentially want to use Map.max but search by value rather than key.