title: Java: Checking equality of arrays (order doesn't matter)
body: <p>I have two <code>String</code> arrays, let's say:</p>
  
  <pre><code>String[] s1 = {"a","b","c"}
  String[] s2 = {"c","a","b"} 
  </code></pre>
  
  <p>//these arrays should be equal</p>
  
  <p>I wanted to check their equality in the "cleanest" way.</p>
  
  <p>I tried using <code>Arrays.equals(s1,s2)</code> but I'm getting a false answer. I guess that this method cares about the elements' order and I don't want that to matter.</p>
  
  <p>Can you please tell me how can I do that in a nice way?</p>