title: What is the different between these two data structures in Python and why can't I sort them?
body: <p>I have two seperate lists here and don't quite understand the difference between them. Ultimately, I want to sort them, but don't know which data type to use. Both don't work.</p>
  
  <pre><code>mylist = [('Andrew','10')('Jim',"20"),("Sarah","30"),("Jim","23"),("Andrew","54")]
  mylist1 = [['Andrew','10']['Jim',"20"],["Sarah","30"],["Jim","23"],["Andrew","54"]]
  sorted(mylist)
  sorted(mylist1)
  print mylist
  print mylist1
  </code></pre>