array-sort icon indicating copy to clipboard operation
array-sort copied to clipboard

Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.

Results 7 array-sort issues
Sort by recently updated
recently updated
newest added

Fixing security issue with older versions of `kind-of` ctorName in index.js in kind-of (v6.0.2 and older) allows external user input to overwrite certain internal attributes via a conflicting name, as...

Bumps [kind-of](https://github.com/jonschlinkert/kind-of) from 5.1.0 to 6.0.3. Changelog Sourced from kind-of's changelog. [6.0.3] - 2020-01-16 Merge pull request #31 for issue #30 [6.0.0] - 2017-10-13 refactor code to be more performant...

dependencies

The security vulnerability issue got fixed in kind-of: 6.0.3. The version that array-sort is using is ^5.0.2, could you please update the dependency in package.json

If the array length value is 0 (zero) or 1 then there is no point trying to sort the array. Slightly more efficient.

I thought of a super clean syntax for your great NPM library @jonschlinkert . ### Usage - In case of single attribute sort: sort asc with `string` and desc with...

Dear creator: I'd want to use your plugin like so: ```JavaScript var result = arraySort(posts, ['locals.foo', 'locals.date'], [{reverse: true}, {reverse: false}] ); ``` I'm sure this can be done with...

Easy enough, but just adding a third function argument for sort direction.