in reply to Data with Letter(s) & Number sort query
use Sort::Key::Multi qw(si_keysort); # "si_" means a string and an integer keys! my @sorted = si_keysort { /^([a-z]+)(\d+))/i } @a; [download]