Package Exports
- num-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 (num-sort) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
num-sort 
Sort an array of numbers
Install
$ npm install num-sortUsage
const numberSort = require('num-sort');
[9, 3, 24].sort(numberSort.ascending);
//=> [3, 9, 24]API
numberSort.ascending
Ascending sort comparator.
numberSort.descending
Descending sort comparator.
Related
- alpha-sort - Alphabetically sort an array of strings
License
MIT © Sindre Sorhus