diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/RuleCount.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/RuleCount.tsx index a2771bfeb..ce1a61f76 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/RuleCount.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/listsTable/columns/RuleCount.tsx @@ -16,8 +16,12 @@ export const RuleCount = (columnVisibility: IColumnVisibility[]) => } as Column); const sortMethod = (a: string, b: string) => - a > b - ? 1 + a + ? b + ? a > b + ? 1 + : -1 + : 1 : -1; const Cell = (ruleCount: number) =>