in reply to sorting multiple arrays on the criteria of one array

If the arrays are that strongly related then perhaps you should use and array of arrays. If you have an array of arrays then the Schwartzian Transform (see this thread) is the trick to solve your problem.


Perl is Huffman encoded by design.
  • Comment on Re: sorting multiple arrays on the criteria of one array