math-sort
v1.0.0
Published
Sort an array of numbers, in ascending order
Downloads
57
Maintainers
Readme
math-sort
Sort an array of numbers, in ascending order
Install
$ npm install --save math-sort
Usage
var mathSort = require('math-sort');
mathSort([100, 10, 20, 30, 1, 5])
//=> [1, 5, 10, 20, 30, 100]
API
mathSort(input)
input
Required
Type: Array of numbers
Input array of numbers
License
MIT © Siddharth Kannan