30.1.3 Variations in version sort order

Currently there is no standard for version sort.

That is: there is no one correct way or universally agreed-upon way to order items. Each program and each programming language can decide its own ordering algorithm and call it “version sort”, “natural sort”, or other names.

See Other version/natural sort implementations for many examples of differing sorting possibilities, each with its own rules and variations.

If you find a bug in the Coreutils implementation of version-sort, please report it. See Reporting version sort bugs.