From 7aa8d359cb8f0cd2ee446594b9c585664b29c3d9 Mon Sep 17 00:00:00 2001 From: Marqle Date: Tue, 2 Jun 2026 10:49:41 +0800 Subject: [PATCH] fix terminal sort --- src/web-ui/src/app/scenes/shell/hooks/shellEntryTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web-ui/src/app/scenes/shell/hooks/shellEntryTypes.ts b/src/web-ui/src/app/scenes/shell/hooks/shellEntryTypes.ts index 6b8f458848..41b7002176 100644 --- a/src/web-ui/src/app/scenes/shell/hooks/shellEntryTypes.ts +++ b/src/web-ui/src/app/scenes/shell/hooks/shellEntryTypes.ts @@ -41,7 +41,7 @@ export function compareShellEntries(a: ShellEntry, b: ShellEntry): number { return a.isRunning ? -1 : 1; } - return a.name.localeCompare(b.name, undefined, { sensitivity: 'base' }); + return a.name.localeCompare(b.name, undefined, { sensitivity: 'base', numeric: true}); } export function createManualProfileEntry(