Sorts an array in ascending order
array containing indexes of original array's elements in the order they are in now
int[] array = [5,4,9,3,6,2,1]; uinteger[] indexes = array.sortAscendingIndex; assert(array == [1,2,3,4,5,6,9]); assert(indexes == [6,5,3,1,0,4,2]);
See Implementation
Sorts an array in ascending order