http://www.perlmonks.org?node_id=11134278


in reply to Re^2: How can I do a numeric sort on a substring?
in thread How can I do a numeric sort on a substring?

in case there are more than one number matching like a-1-3 ?

Do you mean something like Sort::Key::Natural? See also How do I do a natural sort on an array?