Good points.
The only problem with the mtime stat on a file is that it may or may not have anything to do with the time encoded in the filename that the OP was interested in. So that may or may not be helpful for the OP.
But if it turns out to, indeed, be applicable, then, to me, it sure would simplify the code and make the sorting even more compact.
In reply to Re^2: The Dates Sorting!
by ack
in thread The Dates Sorting!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |