insertion-sort-ascending
v1.0.0
Published
Sort an array by ascending values via insertion sort, pass by value
Downloads
1
Maintainers
Readme
insertion-sort-ascending
Sorts an array by ascending values via insertion sort, pass by value
example:
const insertionSortAsc = require('insertion-sort-ascending');
insertionSortAsc([5, 2, 4, 6, 1, 3])
//returns [1, 2, 3, 4, 5, 6]