title: How to sort objects by value
body: <p>Say you have the following object in JS:</p>
  
  <pre><code>let obj = {a: 24, b: 12, c:21; d:15};
  </code></pre>
  
  <p>How can 'obj' be transformed into an array of the keys of the object, sorted by the values?</p>