This is my array :
10908 :int 110
10280 :int 175
10278 :int 585
10277 :int 3015
10275 :int 2835
The index is the ID of the element. I want to know which ID has the bigest value.
When I sort it I lose the value of the Index. How can I sort the index in function of the value?