in reply to Re: Simple sort query
in thread Simple sort query

This is really a reply to all who kindly and helpfully answered.
How can this be extended when there is a variable number of alpha characters before any numeric ones?

Replies are listed 'Best First'.
Re^3: Simple sort query
by samarzone (Pilgrim) on Apr 24, 2010 at 17:43 UTC
    The solution provided by Perlbotics extends to values where there is at least a non-numeric character followed by at least a numeric character.

    You can change it to something else by changing the regular expression (and the anonymous subroutine provided to sort, if required).

Re^3: Simple sort query
by Anonymous Monk on Apr 24, 2010 at 12:34 UTC