Retrieve startday.order and endday,order as a pair, and compare the day_interval order if inside any of those pairs.