Refactor: DO NOT need to sort according to Interval::end.