in reply to a proper sort

You might want to have a look at Sort::Naturally.

Caution: Contents may have been coded under pressure.