title: How to sort a map by a specific field in es6 / React?
body: <p>I've got this map that I'd like to sort by "id" value:</p>
  
  <pre><code>{products.map(({ id, headline }) =&gt; (
    &lt;Container&gt;
      &lt;Row key={id}&gt;
        &lt;Col&gt;
          &lt;p&gt;id={id}&lt;/p&gt;
          &lt;p&gt;headline={headline}&lt;/p&gt;
        &lt;/Col&gt;
      &lt;/Row&gt;
    &lt;/Container&gt;
  ))}
  </code></pre>
  
  <p>How would I do this?</p>