Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 3.13 KB

README.md

File metadata and controls

68 lines (46 loc) · 3.13 KB

📶 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