Properly sort version strings

The default ordering DefaultVerstionStringOrdering can order version
strings according to http://semver.org. For all incompatible version
strings the fallback is default string comparison.