Return -1, 0, or 1 depending on whether the first point is less than, equal to, or greater than the second one.