Compares two versions and returns whether one is newer than the other.
The first version to compare
The second version to compare
The result of the comparison:
1
versionA
-1
versionB
0
Compares two versions and returns whether one is newer than the other.