in reply to Sorting on multiple variables

You can use Sort::Key::Multi:
use Sort::Key::Multi qw(i3_keysort); # i3 => 3 integer keys my @sorted = i3_keysort { /(\d*)_FFF(\d*)_(\d*)/ } @data;

Replies are listed 'Best First'.
Re^2: Sorting on multiple variables
by cbdoc (Novice) on Jul 23, 2009 at 16:53 UTC
    Thank you for the solution. This also works. Elegant approach.