Search results

39 packages found

Find the array index of where to add an element to keep it sorted.

published 3.0.2 4 years ago
M
Q
P

Binary search -based indexOf for sorted arrays.

published 1.0.2 4 years ago
M
Q
P

Remove all duplicate elements in a sorted array, leaving only uniques.

published 1.0.1 4 years ago
M
Q
P

Find all indexes at which an array element exists, by binary search.

published 1.0.1 4 years ago
M
Q
P

For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator

published 1.0.4 4 years ago
M
Q
P

Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa

published 1.0.2 4 years ago
M
Q
P

Compose multiple sorting functions

published 1.0.0 5 years ago
M
Q
P

Sort an array into ascending or descending order

published 1.0.6 4 years ago
M
Q
P
M
Q
P

Function takes an array of numbers and returns new array with numbers in numeric order

published 1.0.0 4 years ago
M
Q
P

Sort an array by ascending values via insertion sort, pass by value

published 1.0.0 6 years ago
M
Q
P

LazyArrays allow you to sort their elements by any of its properties values in ascending/descending order, you can use deep properties.

published 1.0.2 8 years ago
M
Q
P

Sorts items in ascending order of length.

published 1.0.0 6 years ago
M
Q
P

Returns a sorted copy of an array, ranked in ascending order by the results of running each value through an iteratee.

published 1.0.4 2 years ago
M
Q
P

Heap sort ascending

published 1.0.2 3 years ago
M
Q
P

Sort numbers in ascending or descending order

published 1.0.3 9 years ago
M
Q
P

Re-orders objects by the numeric value of a particular property in each.

published 2.0.1 4 years ago
M
Q
P

Sort file content line ascending or descending

published 1.0.0 7 years ago
M
Q
P

Module that exports a function filtering an array of strings based on a user-provided regex pattern and returning an array of those strings in preferred order - i.e., pattern matches sorted in ascending order of match index.

published 1.0.3 7 years ago
M
Q
P