Fixed the iteration ordering to allow for iterations on same start
day to be ordered correctly by end day.