title: Directory Listing based on time
body: <p>How to list the files in a directory based on timestamp?</p>
  
  <pre><code> os.listdir() 
  </code></pre>
  
  <p>lists in arbitrary order. </p>
  
  <p>Is there a build-in function to list based on timestamp? or by any order?</p>