This module exports two functions, nsort and ncmp; they are used in implementing my idea of a "natural sorting" algorithm. Under natural sorting, numeric substrings are compared numerically, and other word-characters are compared lexically. ok ajacoutot@
5 lines
241 B
Plaintext
5 lines
241 B
Plaintext
This module exports two functions, nsort and ncmp; they are used in
|
|
implementing my idea of a "natural sorting" algorithm. Under natural
|
|
sorting, numeric substrings are compared numerically, and other
|
|
word-characters are compared lexically.
|