From c3f4e18a5ee9e1069f66c4c37f01489705d40662 Mon Sep 17 00:00:00 2001 From: dotta Date: Mon, 23 Mar 2026 17:02:43 -0500 Subject: [PATCH] Keep sidebar ordering with portability branch Co-Authored-By: Paperclip --- ui/src/components/SidebarAgents.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/components/SidebarAgents.tsx b/ui/src/components/SidebarAgents.tsx index 88433fd8..0a7e8c18 100644 --- a/ui/src/components/SidebarAgents.tsx +++ b/ui/src/components/SidebarAgents.tsx @@ -28,10 +28,6 @@ function sortByHierarchy(agents: Agent[]): Agent[] { list.push(a); childrenOf.set(parent, list); } - // Sort children at each level alphabetically by name - for (const [, list] of childrenOf) { - list.sort((a, b) => a.name.localeCompare(b.name)); - } const sorted: Agent[] = []; const queue = childrenOf.get(null) ?? []; while (queue.length > 0) {