Compare version numbers.