shell-sort
v1.0.0
Published
CommonJS shell sort
Downloads
2
Maintainers
Readme
Shell sort
CommonJS shell sort implementation using Sedgewick's gap sequence
Usage
var shellSort = require('shell-sort');
// Signature
shellSort(array [, compareFunction] [, reverse]);
// Possible usages
shellSort(array);
shellSort(array, compareFunction);
shellSort(array, compareFunction, true);
shellSort(array, undefined, true);