title: How do you sort an array of words with Ramda?
body: <p>Sorting numbers is easy with Ramda.</p>
  
  <pre><code>const sizes = ["18", "20", "16", "14"]
  console.log("Sorted sizes", R.sort((a, b) =&gt; a - b, sizes))
  //=&gt; [ '14', '16', '18', '20' ]
  </code></pre>
  
  <p>Sorting an array of words with vanilla javascript is too.  </p>
  
  <pre><code>const trees = ["cedar", "elm", "willow", "beech"]
  console.log("Sorted trees", trees.sort())
  </code></pre>
  
  <p><strong>How would you sort an array of words with Ramda.<br>
  If you had to.</strong></p>
  
  <pre><code>const trees = ["cedar", "elm", "willow", "beech"]
  console.log("Sorted trees", R.sort((a, b) =&gt; a - b, trees))
  //=&gt; ["cedar", "elm", "willow", "beech"]
  </code></pre>