title: How to get file info with directory_map codeigniter
body: <p>I am using directory_map to get the images inside the folder. But i want to show the images by date modified (in descending order) below is my code</p>
  
  <pre><code>$dir = realpath(FCPATH) . "/assets/images/articles/";
  $map = directory_map($dir);
  </code></pre>
  
  <p>Is there any way to show files in descending order or to get the file info?</p>