"it'd be faster to cache your stats for the sort"
Depends on what does "oldest" mean, and how files are created, modified and removed from the directory. The catched info might not be correct and useful. It probably just increases the complexity of the program, with 10+ files in the directory, most likely not worth it.
In reply to Re^2: Finding oldest file in directory
by pg
in thread Finding oldest file in directory
by Nitrox
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |