public static Comparator<OffsetDateTime> timeLineOrder()
This static method returns a comparator that compares two OffsetDatetime instances based on the timeline Instance. Note that the instance method compareTo(OffSetDateTime) also uses the same static method internally, which if returns 0 then two instances are compare based on LocalDatetime: