title: Grouping similar values in a dictionary
body: <p>I'm new to programming and would appreciate if someone can help with the following in Python/Pandas.
  I have a dictionary that has a list as the values. I'd like to be able to group together keys that have similar values. I've seen similar questions on here, but the catch in this case is i want to disregard the order of the values for example:</p>
  
  <pre><code>classmates={'jack':['20','male','soccer'],'brian':['26','male','tennis'],'charles':['male','soccer','20'],'zulu':['19','basketball','male']}
  </code></pre>
  
  <p>jack and charles have the same values but in different order. I'd like an output that will give the value irrespective of order. In this case, the output would be written to a csv as</p>
  
  <pre><code>['20','male','soccer']: jack, charles
  ['26','male','tennis']: brian
  ['19','basketball','male']: zulu
  </code></pre>