I have a folder which contains many files. Is there any easy way to get the file names in the directory sorted by their creation date/time?
If I use Directory.GetFiles()
, it returns the files sorted by their file name.
I have a folder which contains many files. Is there any easy way to get the file names in the directory sorted by their creation date/time?
If I use Directory.GetFiles()
, it returns the files sorted by their file name.