RosettaCodeData/Task/Sort-numbers-lexicographically/MUMPS/sort-numbers-lexicographically-1.mumps
2023-07-01 13:44:08 -04:00

5 lines
125 B
Text

SortLexographically(n)
new array,i,j
for i=1:1:n set array(i_" ")=""
for set j=$order(array(j)) quit:j="" write j
quit