title: How can I compare two arrays contains same items or not in groovy?
body: <p>How can I compare two arrays contains same items or not?</p>
  
  <pre><code>def a = [1, 3, 2]
  def b = [2, 1, 3]
  def c = [2, 4, 3, 1]
  </code></pre>
  
  <p>a &amp; b are contains same items, but a &amp; c not.</p>