selection-sort

Selection sort

npm install selection-sort
2 downloads in the last week
4 downloads in the last month

selection-sort

Stability: 1 - Experimental

Selection sort.

Usage

var selectionSort = require('selection-sort');
...
var ascending  = selectionSort(array);        // sort ascending
var descending = selectionSort(array, false); // sort descending
npm loves you