Compares two values of the same type.
the other GdaValue to be compared to value1.
if both values have the same type, returns 0 if both contain the same value, an integer less than 0 if value1 is less than value2 or an integer greater than 0 if value1 is greater than value2.
See Implementation
Compares two values of the same type.