diff --git a/Interface/AddOns/SVUI/packages/bag/tools/sorting.lua b/Interface/AddOns/SVUI/packages/bag/tools/sorting.lua index a51f67a..3a5d27d 100644 --- a/Interface/AddOns/SVUI/packages/bag/tools/sorting.lua +++ b/Interface/AddOns/SVUI/packages/bag/tools/sorting.lua @@ -214,7 +214,7 @@ local function DefaultSort(b, a) if aType and bType and aType ~= bType then return aType > bType end - if aName and bName and aName ~= bName then + if aName and bName and (type(aName) == type(bName)) and aName ~= bName then return aName < bName end end