title: Get entry with max value from Map in Kotlin
body: <p>I cannot understand how to use <code>maxBy</code> and <code>maxWith</code> methods from <em>Map</em> interface. I have this code:</p>
  
  <pre><code>var myMap: Map&lt;String, Int&gt; = mutableMapOf()
  // ...
  var best = myMap.maxBy { ??? }
  </code></pre>
  
  <p>I'd like to get the entry with max value but I don't know what to pass to <code>maxBy</code> or <code>maxWith</code>.</p>