I have an array Var(6). In which the values held are from 1 to 10. Can anyone suggest a way of sorting these values into ascending order?
so Var(0)=lowest value
etc, etc,
Var(6)=highest value
I have managed it with a very code intensive 'And''Or''=' combiation, but there must be a more efficient way.
Steady ...
%-)
so Var(0)=lowest value
etc, etc,
Var(6)=highest value
I have managed it with a very code intensive 'And''Or''=' combiation, but there must be a more efficient way.
Steady ...
%-)