title: Directory.GetFiles sort by date
body: <p>I am using Directory.GetFiles to get files from a particular folder.
  By default files from that folder are coming sort by filename ie. in alphabetical order of filename. I want to get files in the order in which files are modified.</p>
  
  <p>I cannot use Directory.GetInfo as I want to get the files which contain particular keyword.
  Please let me know how can we get the file sorted by their modified date.
  I am using the following code</p>
  
  <pre><code>string[] arr1 = Directory.GetFiles("D:/TestFolder", "*"Test12"*");
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>