compare version number