sleep-sort

Implementation of the sleep-sort algorithm.

npm install sleep-sort
2 downloads in the last week
2 downloads in the last month

Sleep Sort

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.

npm loves you