RosettaCodeData/Task/Sort-an-integer-array/Joy/sort-an-integer-array.joy

6 lines
62 B
Plaintext

1 3 2 4
stack dup.
[4 2 3 1]
qsort.
[1 2 3 4]