Package Exports
- math-sort
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (math-sort) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
math-sort
Sort an array of numbers, in ascending order
Install
$ npm install --save math-sortUsage
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