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

Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array

Results 6 sort-es issues
Sort by recently updated
recently updated
newest added

This PR adds a `valueCategoryOrder` field to the sort options for `byNumber` so the user can control exactly how `NaN`, `null`, and `undefined` values are sorted.

This PR adds a new sorter that works just like JavaScript's default sort. I also added some comments in other places.

enhancement

This PR adds lexicographical sorting, which is useful for sorting arrays, tuples, etc. in the most obvious way.

IMHO `byString` should use JavaScript's relational operators rather than a locale-sensitive comparison to avoid surprises where different users see different sort orders. Using a locale-sensitive comparison should be something users...

The current documentation doesn't mention how nulls are sorted on each of the sort functions. Would it be possible to add a sort option that allows configuration on if nulls...

enhancement

Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2. Changelog Sourced from rollup's changelog. rollup changelog 4.22.5 2024-09-27 Bug Fixes Allow parsing of certain unicode characters again (#5674) Pull Requests #5674: Fix panic...

dependencies