Sorting

[email protected] (Colin Foster) Thu, 01 Jul 2004 13:05:33 +0100
Newsgroups perl.riscos
Message-ID <[email protected]>
Hi All,

I'm sorting a list in numerical order using
@new = sort {$b <=> $a} @old;

Is it possible to restrict the sort so that it only sorts on the first
4 digits.

Regards,
Colin.