in reply to (Hopefully) simple sorting question
This is a FAQ. See perldoc -q sort or perlfaq4 on How do I sort an array by (anything)?.