Can I get the index vector from this function? This is what the Matlab version does: it returns the sorted matrix and the permutation vector.
There doesn't seem to be a facility for this in Julia, unless I missed it (possible). Does anyone have a code that would do this? By the way, I ran into this issue also with unique(): the Matlab version of this function returns two permutation vectors. In general I think it would be desirable to have implementations of these functions that match Matlab's. Thanks, Petr
