Group cleaned data by task