Implementation of the sleep-sort algorithm.
Want to see pretty graphs? Log in now!
npm install sleep-sort
|2||downloads in the last week|
|2||downloads in the last month|
|Last Published By|
|Version||1.0.1 last updated 2 years ago|
sleep-sort works by creating a task for every number to be sorted. The task
will "sleep" n number of milliseconds and then push the number onto an array.
When all tasks are done, the array is returned sorted.