title: Ramda, array equality regardless of order
body: <p>When comparing arrays, the ramda <code>equals</code> will return true only if two arrays hold the same values in the same order.</p>
  
  <p>I need a function to check if two arrays hold exactly the same values, but ignore the order in which the values occur.</p>
  
  <p>For now I am doing it this way:</p>
  
  <pre><code>const equalLength = (arr1, arr2) =&gt; arr1.length === arr2.length
  
  export const equalIgnoreOrder = (arr1, arr2) =&gt;
    equalLength(arr1, arr2) &amp;&amp; equalLength(arr1, R.union(arr1, arr2))
  </code></pre>
  
  <p>but I am wondering if there is a more 'out of the box' solution?</p>