Here is a snippet:
my @e = sort { (stat($a))[9] <=> (stat($b))[9] } <*> ; [download]
In reply to Re: READDIR - Sort by Time? by fundflow in thread READDIR - Sort by Time? by Anonymous Monk