title: Natural Sort of list containing paths in Python
body: <p>I have a list <code>paths_list</code> which contains the path of files(images) of a particular folder . Example:</p>
  <pre><code>['/home/username/images/s1/4.jpg', '/home/username/images/s1/7.jpg', 
  '/home/username/images/s1/6.jpg', '/home/username/images/s1/3.jpg', 
  '/home/username/images/s1/5.jpg', '/home/username/images/s1/10.jpg', 
  '/home/username/images/s1/9.jpg', '/home/username/images/s1/1.jpg', 
  '/home/username/images/s1/2.jpg', '/home/username/images/s1/12.jpg', 
  '/home/username/images/s1/11.jpg', '/home/username/images/s1/8.jpg']
  </code></pre>
  <p>I want to sort then in the order: <code>[/1.jpg ,2.jpg .....,/12.jpg]</code>
  Neither sorting via <strong>length</strong> nor via <strong>alphabetical</strong> order is helping. What should be done here?</p>