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.
In reply to Re: sorting multiple arrays on the criteria of one array
by GrandFather
in thread sorting multiple arrays on the criteria of one array
by Forsaken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |