19 lines
453 B
Markdown
19 lines
453 B
Markdown
# lodash.sortby v4.7.0
|
|
|
|
The [lodash](https://lodash.com/) method `_.sortBy` exported as a [Node.js](https://nodejs.org/) module.
|
|
|
|
## Installation
|
|
|
|
Using npm:
|
|
```bash
|
|
$ {sudo -H} npm i -g npm
|
|
$ npm i --save lodash.sortby
|
|
```
|
|
|
|
In Node.js:
|
|
```js
|
|
var sortBy = require('lodash.sortby');
|
|
```
|
|
|
|
See the [documentation](https://lodash.com/docs#sortBy) or [package source](https://github.com/lodash/lodash/blob/4.7.0-npm-packages/lodash.sortby) for more details.
|