Use sortperm to get sorted indices and then index them all by that.
> On Aug 29, 2014, at 10:20 AM, paul analyst <[email protected]> wrote: > > I have three vectors of equal length of. > a = random (10 ^ 5); > b = rand (10 ^ 5); > c = rand (10 ^ 5); > How to sort them simultaneously by one of them without joining them in an > array. > Paul
