I would like a new namespace, Sort::Indices. A brief description follows. Danke.

Sort::Indices supplies a function that accepts a list and, instead
of returning the same list in a sorted form, returns the indices that
would result in a sorted list.  For example:

  sortind(qw/m o z a r t/)  returns (3,0,1,4,5,2)

This is helpful if you have an array of arrays, or simply two or more
arrays, that need to be sorted in corresponding order.

Reply via email to