Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Readme.md
Octocat-spinner-32 package.json
Readme.md

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.

Build Status

Installation

$ npm install sleep-sort

Usage

$ sleep-sort 2 7 89 94 77 4 6 9 6 3
3 2 4 6 6 9 7 77 89 94
Something went wrong with that request. Please try again.