- ingame/crafting/gamepad/alchemy_gamepad.lua:548 --
self:SetCustomSort(function(bagId, slotIndex)
local _, craftingSubItemType, _, requiredLevel, requiredChampionPoints = GetItemCraftingInfo(bagId, slotIndex)
local subSortOrder = (requiredChampionPoints and requiredLevel + requiredChampionPoints or requiredLevel or 0)
if craftingSubItemType == ITEMTYPE_POTION_BASE then
return INGREDIENT_SORT_ORDER_POTION + subSortOrder
elseif craftingSubItemType == ITEMTYPE_POISON_BASE then
return INGREDIENT_SORT_ORDER_POISON + subSortOrder
else
return INGREDIENT_SORT_ORDER_OTHER + subSortOrder
end
end)
- ingame/crafting/gamepad/smithingextraction_gamepad.lua:524 --
self:SetCustomSort(function(bagId, slotIndex)
local traitInformation = GetItemTraitInformation(bagId, slotIndex)
return ZO_GetItemTraitInformation_SortOrder(traitInformation)
end)
- ingame/crafting/gamepad/smithingimprovement_gamepad.lua:690 --
self:SetCustomSort(function(bagId, slotIndex) return bagId end)
- ingame/crafting/gamepad/universaldeconstructionpanel_gamepad.lua:548 --
self:SetCustomSort(GetTraitSortComparison)
- ingame/crafting/keyboard/alchemy_keyboard.lua:379 --
self:SetCustomSort(IngredientSortOrder)
- ingame/retrait/gamepad/zo_retraitstation_retrait_gamepad.lua:599 --
self:SetCustomSort(function(bagId, slotIndex)
--Sort equipped items to the top of the list
--but items from other bags will be equal so they sort by category name
if bagId == BAG_WORN then
return 0
else
return 1
end
end)