Expand description

numeric-sort

A zero-allocation, human-readable sorting library.

The primary functions of interest are sort and cmp.

no-std

numeric-sort is compatible with no-std projects by passing default-features = false to the dependency.

[dependencies]
numeric-sort = { version = "...", default-features = false }

Structs

A reference to a substring of one or more (decimal) digits.

An iterator over the Segment values within a string.

A reference to a substring of one or more non- (decimal) digits.

Enums

A reference to a homogenous segment of text in a string.

Functions

Performs a lexicographic comparison of the Segment sequences of two strings.

Sorts an array via the cmp ordering.