You mean you want to "Sort the indices of an array based on the values of that array?" That should help you out. And, yes, it is a one-liner.
- In general, if you think something isn't in Perl, try it out, because it usually is. :-)
- "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"