Sort agenda by day