0.2.1 • Published 11 years ago
quick-sort v0.2.1
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 :)