30.2 Implementation Details =========================== GNU coreutils’ version sort algorithm is based on Debian’s versioning scheme (https://www.debian.org/doc/debian-policy/ch-controlfields.html#version), specifically on the "upstream version" part. This section describes the ordering rules. Algorithm::) describes some differences between GNU coreutils implementation and Debian’s official algorithm.
· Version-sort ordering rules · Version sort is not the same as numeric sort · Punctuation Characters · Punctuation Characters vs letters · Tilde ~ character · Version sort ignores locale