After sorting, you scan pairs left-to-right. You need a single comparison that answers: do these two intervals overlap?
left-to-right
Drag and discover.
Drag the green interval. Find the rule. Then prove you own it.