Returns -1 if the value of a should come before the value of b,
+1 if the value of b should come before the value of a, or 0 if
the two should be merged together.
Returns -1 if the value of a should come before the value of b,
+1 if the value of b should come before the value of a, or 0 if
the two should be merged together.