Loop through the array containing the values multiple times, each time checking so that each value is greater than the one before it. Swap the values if they don't. If no values are swapped in a full loop, you have successfully sorted your array.
I can modify the map I posted in that other thread to match this scenario if you need help understanding it. Just let me know how your variables are set up so I have something to work with.
Why do you want to sort the entire array if you only want to get the highest number?
Loop - Pick Each Integer from 2 to MaxIndex and do actions:
If Numbers[(PickedInteger)] > highestNumber then
highestNumber = Numbers[(PickedInteger)]
Well, I found a way but I just thought there must be a more easy, faster way to do it...
@s3rius: That will give me the highest number but not "the source" of the number, the intenger where the number comes from, you know?^^
But nvm I got my own way, just wondered if there's a function I havent discovered yet.