Compare major version first