http://qs321.pair.com?node_id=396336


in reply to Re^2: Sorting Question
in thread Sorting Question

although you may want to actually sort alphabetically (ie case-insensitive) instead of ASCIIbetically:
@list = sort { lc $a cmp lc $b } @list;