A product version in Aduna's version format (i.e. major.minor-modifier).
Where major stands for the major version number of the release, minor is the
minor version number, and modifier is a modifier for the release, e.g. beta1
or RC1. Combined, this results in versions like 2.0 and 4.1-beta1.

Compares two version numbers according to their major, minor and micro
version numbers, ordering from oldest to newests version. If all three
version numbers are equal then their modifiers are compared
lexicographically (based on the Unicode value of each character), ignoring
case. Versions without a modifier are considered to be the "final"
versions and come after otherwise equal versions with a modifier.

Returns:

0 if both versions are equal, a negative number if this
version is older than other, or a positive number
otherwise.