title: ordered with glob.glob in python
body: <p>I have a list of file:</p>
  
  <pre><code>foo_00.txt
  foo_01.txt
  foo_02.txt
  foo_03.txt
  foo_04.txt
  foo_05.txt
  foo_06.txt
  foo_07.txt
  foo_08.txt
  foo_09.txt
  foo_10.txt
  foo_11.txt
  .........
  .........
  foo_100.txt
  foo_101.txt
  </code></pre>
  
  <p>when i use </p>
  
  <pre><code>import glob
  PATH = "C:\testfoo"
  listing = glob.glob(os.path.join(PATH, '*.txt'))
  </code></pre>
  
  <p>i have this order</p>
  
  <pre><code>    foo_00.txt
      foo_01.txt
      foo_02.txt
      foo_03.txt
      foo_04.txt
      foo_05.txt
      foo_06.txt
      foo_07.txt
      foo_08.txt
      foo_09.txt
      foo_100.txt
      foo_101.txt
      .........
      .........
      foo_10.txt
      foo_11.txt
      .........
  </code></pre>
  
  <p>i tried also <code>sorted(glob.glob(os.path.join(PATH, '*.txt')))</code> but without resolve my problem because I wish to have the right sequence. After foo_09.txt i wish to import foo_10.txt and not foo_100.txt and so on.</p>