Return -1, 0, or 1 depending on whether the first temporal box is less than, equal to, or greater than the second one.
The time dimension is compared first and then the value dimension.