Search results

1000+ packages found

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 9 years ago1741 dependents licensed under $MIT
180,172,647

deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies

published version 1.0.1, 8 years ago1520 dependents licensed under $MIT
168,814,292

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

published version 1.1.4, 10 months ago710 dependents licensed under $MIT
73,048,707

Array manipulation, ordering, searching, summarizing, etc.

published version 3.2.4, 2 years ago1839 dependents licensed under $ISC
56,325,611

Topological sorting with grouping support

published version 6.0.2, 2 years ago57 dependents licensed under $BSD-3-Clause
54,156,952

Sort the keys of an object

published version 5.1.0, 7 months ago445 dependents licensed under $MIT
47,826,876

Topological sort of directed ascyclic graphs (like dependecy lists)

published version 2.0.2, 7 years ago562 dependents licensed under $MIT
33,349,797

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 9 years ago557 dependents licensed under $MIT
40,034,152

compare two semver version strings, returning -1, 0, or 1

published version 1.0.0, 10 years ago398 dependents licensed under $MIT
31,921,843

deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results

published version 1.2.1, 3 months ago2084 dependents licensed under $MIT
29,940,956

Removes duplicates from a sorted array in place

published version 1.0.1, 11 years ago347 dependents licensed under $MIT
19,449,959

Get a compare function for array to sort

published version 2.0.0, 5 years ago686 dependents licensed under $MIT
27,516,949

Fast JavaScript array sorting by implementing Python's Timsort algorithm

published version 1.0.3, 4 years ago4 dependents licensed under $MIT
16,094,298

A tiny and fast selection algorithm in JavaScript.

published version 3.0.0, 9 months ago177 dependents licensed under $ISC
18,179,653

Compare alphanumeric strings the same way a human would, using a natural order algorithm

published version 3.0.1, 5 years ago529 dependents licensed under $MIT
19,341,975

Alphanumeric sorting algorithm

published version 1.0.2, 9 years ago122 dependents licensed under $MIT
11,059,973

Sort objecy keys by length

published version 2.0.0, 8 years ago18 dependents licensed under $MIT
15,923,561

Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license

published version 0.7.1, 11 years ago160 dependents licensed under $MIT
12,775,547

Easy autofixable import sorting

published version 12.1.1, 9 months ago1526 dependents licensed under $MIT
12,410,183

TimSort: Fast Sorting for Node.js

published version 0.3.0, 9 years ago169 dependents licensed under $MIT
12,898,061