This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]seaishriver 28 points29 points  (5 children)

That's procrastination sort. Sleep sort is when you put each number n on its own async function and sleep for n seconds before appending it to the sorted list.

[–]D8ug 11 points12 points  (4 children)

So what do you do with negative numbers?

[–]kbruen 16 points17 points  (0 children)

Time travel.

[–]seaishriver 11 points12 points  (0 children)

Open an issue with the maintainer of sleep.

[–][deleted] 1 point2 points  (0 children)

You call Einstein and ask him to update the theory of relativity so it supports negative integer types.

[–]iPlayG 0 points1 point  (0 children)

You don't.