Pitstops must keep the order of date and odometer. That means if a pitstop's date is between two other pitstops' date than the odometer values must be as well.