Possible Duplicate:
How would I sort a list of files by name to match how Windows Explorer displays them?
The C# program I am making is a picture manager. Of course, if I double click on an image in the windows explorer, it opens the image with my program. The program also gets all the images in the same folder, to allow switching from one to another.
I would like to know, if this is possible, how to get the sorting of the explorer window (if it was sorted by Name, by Type, by Modification Date...), to have the same sorting in my program, so that the user can navigate between images in my program exactly in the same order that he sees when opening an image.
Thanks