You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

717 B

sort-desc NPM version

Sort array elements in descending order.

Install

Install with npm

npm i sort-desc --save

Usage

var sortDesc = require('sort-desc');
console.log((['d', 'c', 'b', 'a']).sort(sortDesc));
//=> ['a', 'b', 'c', 'd']

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on August 15, 2014.