regroup tasks by date