RosettaCodeData/Task/Sort-an-integer-array/Lua/sort-an-integer-array.lua
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

3 lines
45 B
Lua

t = {4, 5, 2}
table.sort(t)
print(unpack(t))