bucket-sort

Bucket sort

bucket-sort

Stability: 1 - Experimental

Bucket sort.

var bucketSort = require('bucket-sort');
...
var ascending  = bucketSort(array);        // sort ascending 
var descending = bucketSort(array, false); // sort descending