diff --git a/keep-ui/app/mapping/rules-table.tsx b/keep-ui/app/mapping/rules-table.tsx index c26f93a89..6eeafa14c 100644 --- a/keep-ui/app/mapping/rules-table.tsx +++ b/keep-ui/app/mapping/rules-table.tsx @@ -89,7 +89,7 @@ export default function RulesTable({ mappings }: { mappings: MappingRule[] }) { const table = useReactTable({ columns, - data: mappings, + data: mappings.sort((a, b) => b.priority - a.priority), getCoreRowModel: getCoreRowModel(), });