diff --git a/client/src/app/pages/controls/tags/tags.tsx b/client/src/app/pages/controls/tags/tags.tsx index 578fec58b2..f00bb7b64a 100644 --- a/client/src/app/pages/controls/tags/tags.tsx +++ b/client/src/app/pages/controls/tags/tags.tsx @@ -242,7 +242,8 @@ export const Tags: React.FC = () => { const getSortValues = (item: TagCategory) => [ "", item?.name || "", - item?.rank || "", + typeof item?.rank === "number" ? item.rank : Number.MAX_VALUE, + "", item?.tags?.length || 0, "", // Action column