J
James Hahn
I have a ListView that displays files selected from various folders using a
user-specified selection rule. I want to sort the files in various ways and
have implemented a sorter class to do it, for instance to sort the file date
as a date and not as text.
But the filenames are not listed in the same sequence as in Explorer, which
is some sort of 'Numeric-modified alpha' sequence. Is there a comparer that
will return the correct sort sequence for a filename, or is there a
definition of the rules used in an Explorer sort so I could write my own
comparer?
user-specified selection rule. I want to sort the files in various ways and
have implemented a sorter class to do it, for instance to sort the file date
as a date and not as text.
But the filenames are not listed in the same sequence as in Explorer, which
is some sort of 'Numeric-modified alpha' sequence. Is there a comparer that
will return the correct sort sequence for a filename, or is there a
definition of the rules used in an Explorer sort so I could write my own
comparer?