reverse order of date groups, normal order inside the day