pregameandingame/zo_options/gamepad/zo_options_gamepad.lua:370 -- self.categoryList:SetSortFunction(function(entry1, entry2)
if entry1.sortOrder ~= entry2.sortOrder then
return entry1.sortOrder < entry2.sortOrder
end
return entry1:GetText() < entry2:GetText()
end)