title: Print lists in alphabetical order(with numbers) in python
body: <p>I need to print those multiple lists but it need to be printed in alphabetical order, .sort wont work because there is numbers involved.</p>
  
  <pre><code>"""define a function to retrive short shelf life items in alphabetical order"""
  def retrieveShortShelfLifeItems(oneItemList):
      if shelfLife &lt;= 7:
          shortLifeItemsList.append(oneItemList)
      return shortLifeItemsList
  
  #initializes short shelf life list
  shortLifeItemsList = []
  
  shortLifeItems = [['Steak', ' 10.00', ' 7', '10.50'], ['Canned Corn', ' .50', ' 5', '0.53']]
  
  #print items with short shelf life
  for item in shortLifeItems:
      print("{:^20s}${:^16s}{:^20s}${:^16s}"\
            .format((item[0]),item[1],item[2],item[3]))
  </code></pre>
  
  <p>so it prints:</p>
  
  <pre><code>   Steak        $      10.00               7         $     10.50      
  Canned Corn     $       .50                5         $      0.53      
  </code></pre>
  
  <p>when it is suppose to print:</p>
  
  <pre><code>Canned Corn     $       .50                5         $      0.53
     Steak        $      10.00               7         $     10.50      
  </code></pre>
  
  <p>Any suggestions??    </p>