title: python sort strings with digits at the end
body: <p>what is the easiest way to sort a list of strings with digits at the end where some have 3 digits and some have 4:</p>
  
  <pre><code>&gt;&gt;&gt; list = ['asdf123', 'asdf1234', 'asdf111', 'asdf124']
  &gt;&gt;&gt; list.sort()
  &gt;&gt;&gt; print list
  ['asdf111', 'asdf123', 'asdf1234', 'asdf124']
  </code></pre>
  
  <p>should  put the 1234 one on the end. is there an easy way to do this?</p>