title: How to sort files list by date?
body: <p>I'm using <code>list.files(path, pattern, full.names = TRUE)</code> to get a list of files in a specific directory. </p>
  
  <p>The files are, by default, sorted alphabetically. Is there any way in R to keep them sorted by date?</p>