dont sort empty and one element assoc lists

This commit is contained in:
BlackMATov
2025-03-06 23:02:57 +07:00
parent c2aaf94227
commit 00dc5e6b45

View File

@@ -360,7 +360,7 @@ end
local function __assoc_list_sort(al, comp)
local al_item_count = al.__item_count
if al_item_count == 0 then
if al_item_count < 2 then
return
end