compare version numbers using split and consider the equal cases