bubble-sort

Bubble sort

npm install bubble-sort
1 downloads in the last week
4 downloads in the last month

bubble-sort

Stability: 1 - Experimental

Bubble sort.

Usage

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