title: Sort a list of numerical strings in ascending order
body: <p>I have created a sqlite database which has a table which stores temperature values. The temperature values are written to the database in ascending order for the first time. Then I read the temperature values from the database into a list and then add that list to a combo box to select temperatures - works fine. </p>
  
  <p>The resulting list is, say:</p>
  
  <pre><code>templist = ['25', '50', '100', '150', '200', '250', '300'].
  </code></pre>
  
  <p>Then I add a new temperature value, say, '33' to the database. </p>
  
  <p>It gets appended to the end of the table. If I read the temperatures now, the list will become: </p>
  
  <pre><code>['25', '50', '100', '150', '200', '250', '300', '33']. 
  </code></pre>
  
  <p>If I do <code>templist.sort()</code> or <code>sorted(templist)</code>, the end result is </p>
  
  <pre><code>['150', '200', '25', '250', '300', '33', '50']
  </code></pre>
  
  <p>Is there any simple way to sort the list in ascending order so that I get:</p>
  
  <pre><code>['25', '33', '50', '100', '150', '200', '250', '300']
  </code></pre>