you can just sort the array and run a loop backwards

for I = 10 to 0 step -1
next I

that will give you the results in reverse if im not mistaken

or since someone was taking about experimenting like back in college

for I = 0 to 10
array(maths.abs(I - 10))
next I