in reply to How do I sort into an index?

@list_order = sort { $stuff_list[$a] cmp $stuff_list[$b] } 0 .. $#stuf +f_list;

(from my post RE: RE: Simple sorting by another parallel array.)

Also, search: sort list

Originally posted as a Categorized Answer.