in reply to Sorting by numbers

From: perldoc -f sort

# sort numerically ascending @articles = sort {$a <=> $b} @files;

Replies are listed 'Best First'.
Re: Re: Sorting by numbers
by waswas-fng (Curate) on Aug 14, 2002 at 19:26 UTC
    or to get them in the order he posted in: @a = sort { $b <=> $a } @list; =)

    -Waswas