Sort tasks by Category