# sort-asc [![NPM version](https://badge.fury.io/js/sort-asc.svg)](http://badge.fury.io/js/sort-asc) [![Build Status](https://travis-ci.org/jonschlinkert/sort-asc.svg)](https://travis-ci.org/jonschlinkert/sort-asc) > Sort array elements in ascending order. ## Install Install with [npm](https://www.npmjs.com/) ```sh $ npm i sort-asc --save ``` ## Usage ```js var ascending = require('sort-asc'); ['d', 'c', 'b', 'a'].sort(ascending); //=> ['a', 'b', 'c', 'd'] ``` ## Related projects * [sort-desc](https://github.com/jonschlinkert/sort-desc): Sort array elements in descending order. * [sort-object](https://github.com/doowb/sort-object): Sort the keys in an object. ## Running tests Install dev dependencies: ```sh $ npm i -d && npm test ``` ## Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/sort-asc/issues/new) ## Author **Jon Schlinkert** + [github/jonschlinkert](https://github.com/jonschlinkert) + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ## License Copyright © 2015 Jon Schlinkert Released under the MIT license. *** _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 17, 2015._