Sorting algorithms/Sleep sort: Difference between revisions

Content added Content deleted
(→‎{{header|Lua}}: Add implementation)
(→‎{{header|Lua}}: Add output)
Line 650: Line 650:
end
end
end</lang>
end</lang>

Either way, the output is the same:

{{Out}}
<pre>
$ lua sleep_sort.lua 3 1 4 1 5 9 2 6 5 3 5
1
1
2
3
3
4
5
5
5
6
9
</pre>


=={{header|Mathematica}}==
=={{header|Mathematica}}==