Interval CompareTo