Heap sort.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
.gitignore
LICENSE
README.md
index.js
package.json
test.js

README.md

heap-sort

Stability: 1 - Experimental

Heap sort.

Usage

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