I am new to VBA (I wish I could stick to Javascript) and I have a problem with sorting an array. I have this 2 dimensional array in keeping track of player scores like this
P1 P2 P3 P4 P5 P6 P7 P8 P9
23 12 34 11 21 56 32 35 27
And I would like to sort the array so the players are in order of scores from lowest to highest like this
P4 P2 P5 P1 P9 P7 P3 P8 P6
11 12 21 23 27 32 34 35 56
I haven't got a clue how to do this in VBA. I tried looking for a sort function, to no avail. Do I need to include some library or something?
Does anyone know how to tackle this problem if a library isn't available to do this?
Regards Crouz