Hi, i would need help to solve a problem. I have 9 variables that contain the penalties found in a car race. I have to put them in ascending order and form a ranking by keeping the variable name or assigning a new one but without losing the reference to the starting variable. I tried it with an array but in this way I get the array values sorted but I lose the link to the variable name. Is there a way to sort the array while keeping the link to the name of the individual variable? Thanks.
car1/car9 variable
starting situation
car1=54 penalty
car2=81
car3=25
car4=14
car5=6
car6=29
car7=77
car8=32
car9=44
after sorting
1) car5
2) car4
3) car3
4) car6
5) car8
6) car9
7) car1
8) car7
9) car2
Bookmarks