HI all...It's me again :sign0188:
I am strugling to get my mind around a concept on how to sort an array...
Since B4A still hasn't 2D arrays, I used a continuous one...
So for sake of argument, lets use this example:
Score(4) = 23
Score(9) = 25
Score(14) = 21
Score(19) = 30
Score(24) = 22
The values in beetween are relevant, but not to the sorting...
So my question is how can I rearrange my array in order to get as the lowest index level, the highest value?
I am strugling to get my mind around a concept on how to sort an array...
Since B4A still hasn't 2D arrays, I used a continuous one...
So for sake of argument, lets use this example:
Score(4) = 23
Score(9) = 25
Score(14) = 21
Score(19) = 30
Score(24) = 22
The values in beetween are relevant, but not to the sorting...
So my question is how can I rearrange my array in order to get as the lowest index level, the highest value?