Hi!
I need to sort the elements in a 2d array by their index (starting from 1) for example:
10 is the biggest element and its index is 32, after 10 comes 8 with index 23 etc etc... Please help?Code:1 5 3 4 7 8 4 10 2
EDIT: If you can give me examples for two orders ... By descending and ascending order... Thanks.