vroom has asked for the wisdom of the Perl Monks concerning the following question:

you need @array=sort @array;

Replies are listed 'Best First'.
RE: Sorting an array alphanumricly.
by swiftone (Curate) on Jun 08, 2000 at 22:04 UTC
    sort @array doesn't change @array, it returns a sorted version of the list. To change it you would want:
    @array=sort @array;