1. sort-asc
Sort array elements in ascending order.
sort-asc
Package: sort-asc
Created by: jonschlinkert
Last modified: Wed, 12 Jul 2023 19:15:36 GMT
Version: 0.2.0
License: MIT
Downloads: 1,752,715
Repository: https://github.com/jonschlinkert/sort-asc

Install

npm install sort-asc
yarn add sort-asc

sort-asc NPM version Build Status

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']

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.

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code