3 lines
115 B
Rexx
3 lines
115 B
Rexx
a = .array~of(4, 1, 6, -2, 99, -12)
|
|
say "The sorted numbers are"
|
|
say a~sortWith(.numericComparator~new)~makeString
|