diff --git a/todoblue/src/app/board/[board]/doTaskGrouping.tsx b/todoblue/src/app/board/[board]/doTaskGrouping.tsx index b4cb530..caac9d5 100644 --- a/todoblue/src/app/board/[board]/doTaskGrouping.tsx +++ b/todoblue/src/app/board/[board]/doTaskGrouping.tsx @@ -173,8 +173,8 @@ function TaskGroupTitleFromStatus({key}: {key: string}): ReactNode { } export const TASK_GROUPERS: [TaskCategorizer, TaskGroupComparer, TaskGroupTitleComponent][] = [ - [categorizeTaskByIcon, compareGroupsByKey, TaskGroupTitleFromIcon], - [categorizeTaskByStatus, compareGroupsByAscendingStatus, TaskGroupTitleFromStatus], [categorizeTaskByImportance, compareGroupsByDescendingImportance, TaskGroupTitleFromImportance], [categorizeTaskByPriority, compareGroupsByDescendingPriority, TaskGroupTitleFromPriority], + [categorizeTaskByIcon, compareGroupsByKey, TaskGroupTitleFromIcon], + [categorizeTaskByStatus, compareGroupsByAscendingStatus, TaskGroupTitleFromStatus], ] diff --git a/todoblue/src/app/board/[board]/doTaskSorting.tsx b/todoblue/src/app/board/[board]/doTaskSorting.tsx index 7c381c5..f75312c 100644 --- a/todoblue/src/app/board/[board]/doTaskSorting.tsx +++ b/todoblue/src/app/board/[board]/doTaskSorting.tsx @@ -65,7 +65,7 @@ function compareImportancePriorityText(a: TaskWithId, b: TaskWithId) { } export const TASK_SORTERS: TaskSortingFunction[] = [ - compareText, comparePriorityImportanceText, compareImportancePriorityText, + compareText, ];