quick-sort
v0.2.1
Published
Quick sort
Downloads
109
Readme
quick-sort
Stability: 1 - Experimental
Quick sort.
Usage
var quickSort = require('quick-sort');
...
var ascending = quickSort(array); // sort ascending
var descending = quickSort(array, undefined, undefined, false); // sort descending
yes, the descending case is sort of crappy usage, I doubt anyone will use this code though :)