in reply to Sorting an Array

perldoc -q sort

How do I sort an array by (anything)?