title: Filename to date and then sort in Python
body: <p>I have many many batch files in format ddmmyy-00. How can I convert ddmmyy for sorting purposes?</p>
  <pre><code>for name in glob.glob(path, recursive=True):
    basename=os.path.basename(name)
    newname=os.path.spltext(basename)[0]
    ##what code do I have to put here to convert 'newname' to date format?##
  </code></pre>