title: Sort a list of names containing numbers by the numeric value
body: <p>I would like to sort a list which includes a set such as;</p>
  
  <p>100.avi</p>
  
  <p>10000.avi</p>
  
  <p>10002.avi</p>
  
  <p>1003.avi ....</p>
  
  <p>I need to do some process using the files in numeric order. If I use <code>sorted</code> it does not care about the values, it sorts on the first character, second character, and so on - string sorting. </p>
  
  <p>I tried to use [:-4] but I tried to do this on the list not the element of the list. Because it is late when I have the element. Is there any way?</p>
  
  <p>Thanks in advance</p>