Liking cljdoc? Tell your friends :D
All platforms.

wevre.natural-compare

A comparator for natural sorting of strings. Internal digits compare as integers.

A comparator for natural sorting of strings. Internal digits compare as integers.
raw docstring

natural-compareclj/s

(natural-compare a b)

Compares two strings using natural, as opposed to lexical, sorting.

Compares two strings using natural, as opposed to lexical, sorting.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close