heap-sort

Heap sort

npm install heap-sort
4 downloads in the last week
8 downloads in the last month

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
npm loves you