Hello, I couldn't find an easy way to sort an array and have the corresponding indexes of the original array.
An example of what I want : [array_sorted, Indexes] = sort ( [20 10 30]) giving array_sorted = [10 20 30] Indexes = [2 1 3] any help welcomed
