Just occured to me. In your screen shot you have two other entries in the grouping and sorting dialog box between the two entries for your date. It's sorting the header/footer by the month, then the detail section by the other two fields first then, lastly, by the date.
Move the second date...