Search results
23 packages found
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
order-sorter is a lightweight, efficient JavaScript utility for sorting numerical arrays. It allows users to sort data either in ascending or descending order with a simple, easy-to-use API. Designed for both developers and data scientists, this tool ensu
- sort
- order
- utility
- sorting
- numerical-data
- arrays
- ascending
- descending
- data-management
- JavaScript
- data-sorting
- order-management
Sort array of arrays by column, rippling the sorting outwards from that column
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.
Sort an array of numbers
Sort array elements in descending order.
This package lets you sort your array in ascending or descending order with many different algorithms.
Sort an array of objects by one or more properties in any order. Multiple properties and custom comparison functions can be used.
- arr
- array
- asc
- ascend
- ascending
- desc
- descend
- descending
- multiple
- nested
- order
- ordered
- orderby
- orderbydescending
- View more
Small library for .
Sort numbers in ascending or descending order
Order object by ascending or descending
Sort an array by its property
Compose multiple sorting functions
Create array comparator function.
- create
- array
- comparator
- function
- [options]
- [optionsnumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [optionsdescending=false]
- descending
- order
- ascending
- View more
Sorts a number array ascending or descending
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
Find the array index of where to add an element to keep it sorted.
- find
- array
- index
- add
- element
- sorted
- arr
- insertion
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
Find all indexes at which an array element exists, by binary search.
- find
- indexes
- array
- element
- exists
- binary
- search
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [comparedescending=false]
- View more
Remove all duplicate elements in a sorted array, leaving only uniques.
- remove
- duplicate
- elements
- sorted
- array
- leaving
- uniques
- arr
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more