# sort numerically descending
@articles = sort {$b <=> $a} @files;
Hope that helps
Carl
> From: Patrick Tehvand [mailto:patrick at perthix.net]
>
>
> I've got another perl question,
> I would like to sort in decending nemerical order based on $id
> This is what I have.
>