kidd has asked for the wisdom of the Perl Monks concerning the following question:
I have a bunch of data which I display sorting it out by numbers:
9 8 7 ... 3 2 1
I thought it worked fine...until I got to number 10...which displays just before 1....
I thought of adding 0 before the one digit numbers...but maybe there is a better way to achieve this...
10 9 8 ... 3 2 1
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sorting by numbers
by the_slycer (Chaplain) on Aug 14, 2002 at 18:52 UTC | |
Re: Sorting by numbers
by mp (Deacon) on Aug 14, 2002 at 18:52 UTC | |
by waswas-fng (Curate) on Aug 14, 2002 at 19:26 UTC |
Back to
Seekers of Perl Wisdom