sort-asc
![Build Status](https://camo.githubusercontent.com/c50ce41433e8eda8e67555968ad99e0244abaa093f5ce2a11dc9fc037beb2570/68747470733a2f2f7472617669732d63692e6f72672f6a6f6e7363686c696e6b6572742f736f72742d6173632e737667)
Sort array elements in ascending order.
Install
Install with npm
$ npm i sort-asc --save
Usage
var ascending = require('sort-asc');
['d', 'c', 'b', 'a'].sort(ascending);
//=> ['a', 'b', 'c', 'd']
Related projects
- sort-desc: Sort array elements in descending order.
- sort-object: Sort the keys in an object.
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on July 17, 2015.