How to sort LinkedHashMap by values in Kotlin? : <p>To sort by keys I can use</p>

<pre><code>map.toSortedMap()
</code></pre>

<p>But what is the best way to sort LinkedHashMap by values in Kotlin?</p>
