SemVer Comparator

Sort releases and pre-releases by Semantic Versioning precedence.

Enter 2–24 versions, one per line. Use MAJOR.MINOR.PATCH and optional pre-release or build identifiers.

Version precedence

Enter two versions to see why one sorts first, or enter a list to sort the whole set.

Comparison rules

Compare major, minor and patch numerically. For the same version core, list pre-releases before the normal release. Numeric pre-release identifiers are ordered numerically and come before text identifiers, which follow ASCII order. Build metadata does not change precedence.

Semantic Versioning 2.0.0