From 856b176ce73c95e809129c8e1ce82bcedd7cdf47 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 5 Mar 2026 08:12:19 +0100 Subject: [PATCH] Fixes #1864 by making ordering stable --- client/space_lua.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/space_lua.ts b/client/space_lua.ts index 3bf831b2..86747dd5 100644 --- a/client/space_lua.ts +++ b/client/space_lua.ts @@ -34,6 +34,9 @@ export class SpaceLuaEnvironment { expr: parseExpressionString("script.priority or 0"), desc: true, nulls: "first", + }, { + expr: parseExpressionString("script.ref"), + desc: false, }], } as LuaCollectionQuery, );