title: Python - Sort list of filepaths like Windows
body: <p>I'm currently working on trying to sort a list of string file paths in the same manor as Windows Explorer does. I've been looking at several natural/human sorting algorithms that have been posted (especially ones in the natsort package) but all of them have the same problem.</p>
  
  <p>Given a directory containing files "0.jpg", "00.jpg" and "000.jpg", Windows will sort them in order of decreasing precision, that is: 000.jpg, 00.jpg. 0.jpg. </p>
  
  <p>All of the algorithms I've tried will sort them in the opposite order. I'm not sure how to get the desired behavior. Any advice would be appreciated. </p>