then you canuse File::stat; # don't worry, it's part of standard perl
That should do it.@allPictures = sort {stat($a)->mtime <=> stat($b)->mtime} @allPictures;
In reply to Re: sort by date
by forrest
in thread sort by date
by mito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |