Skip to content

make-github-pseudonymous-again/js-sorting

Folders and files

NameName
Last commit message
Last commit date
Jul 15, 2021
Jul 15, 2021
Dec 21, 2021
Sep 20, 2020
Sep 20, 2020
Sep 20, 2020
Sep 20, 2020
Sep 20, 2020
Oct 6, 2014
Dec 21, 2021
Dec 21, 2021
Sep 20, 2020
Dec 21, 2021

Repository files navigation

πŸ“Ά Sorting License GitHub issues


Β© xkcd.com

Sorting algorithms for JavaScript. See docs. Parent is js-algorithms.

πŸ—οΈ Caveat emptor! This is work in progress. Code may be working. Documentation may be present. Coherence may be. Maybe.

import {isSorted} from '@comparison-sorting/is-sorted';
import {increasing, decreasing} from '@total-order/primitive';
isSorted(increasing, [1, 2, 3], 0, 3); // true
isSorted(decreasing, [1, 2, 3], 0, 3); // false

πŸ‘Ά Children

This package has several children:

βš–οΈ Comparison sorting

Spec

In-place

Stable

Input oblivious

Subroutines

πŸ’€ Integer sorting

πŸ”— Links