math-sort

Sort an array of numbers, in ascending order

Usage no npm install needed!

<script type="module">
  import mathSort from 'https://cdn.skypack.dev/math-sort';
</script>

README

math-sort

Sort an array of numbers, in ascending order

Build Status

js-semistandard-style

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