title: Compare tuples with elements not in order
body: <p>I have a two dicts that I'm converting bot to tuples . Both dict contain the same elements, but they are not generated using the same logic .</p>
  
  <p>For example let's say I have a tuple like this : </p>
  
  <pre><code>(('a',5),('n',4),('c',8))
  </code></pre>
  
  <p>And the 2nd tuple is like that :</p>
  
  <pre><code>(('c',8),('n',4),('a',5))
  </code></pre>
  
  <p>Their original dicts is like that (probably, I can't know how will the elements be ordered in the dict however they are generated from two dicts that contains the same elements (no more, no less) :</p>
  
  <pre><code>{'a':5,'c': 8,'n':4}
  </code></pre>
  
  <p>For a human being both tuples are similar, but for a computer they are not . </p>
  
  <p>How can I go with checking if two tuples are similar ?</p>