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