How to sort a map by value in javascript? : <pre><code>var map = new Map();
map.set("orange",10);
map.set("apple",5);
map.set("banana",20);
map.set("cherry",13);
</code></pre>

<p>How to sort this map by value?</p>
