Fixed a bug trying to sort an array of versions that contain one or more SemVer objects