title: How do I sort a key:list dictionary by values in list?
body: <p>I have a dictionary</p>
  
  <pre><code>mydict = {'name':['peter', 'janice', 'andy'], 'age':[10, 30, 15]}
  </code></pre>
  
  <p>How do I sort this dictionary based on key=="name" list?</p>
  
  <p>End result should be:</p>
  
  <pre><code>mydict = {'name':['andy', 'janice', 'peter'], 'age':[15, 30, 10]}
  </code></pre>
  
  <p>Or is dictionary the wrong approach for such data?</p>