Damn, new problem!
For example..
Code:
new randomarray[4]
randomarray[2] = 44
randomarray[1] = 2
randomarray[4] = 85
randomarray[3] = 99
How would i do so the array's number is still the same after i've sorted it?
Like...
Code:
new randomarray[4]
randomarray[3] = 99
randomarray[4] = 85
randomarray[2] = 44
randomarray[1] = 2
Instead of...
Code:
new randomarray[4]
randomarray[2] = 99
randomarray[1] = 85
randomarray[4] = 44
randomarray[3] = 2