You should show us the code that creates the
@score array. Once we have that working properly, then you can just write
@sorted = reverse sort { $a <=> $b } @score;
# or
@sorted = sort { $b <=> $a } @score;
_____________________________________________________
Jeff
[japhy]Pinyan:
Perl,
regex,
and
perl
hacker, who'd like a
job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;