sorting the list of groups by day then by title