Minitab Ordering Macro

I wonder if anyone knows how to write a macro in minitab that can arrange given numbers in order, eg the numbers 3 1 2 in order so that they are 1 2 3

I intend to generate the numbers randomly and store them in c1 (do not need help on this) and then store these random numbers in ascending order in c2.

Any help appreciated.

Just as a helper, minitab itself can do this if you go type the following into session window:

let c2=order (c1)

does this mean that i could find the macro in minitab folder, if so can you direct me please:wave: