ingame/banking/gamepad/bankingcommon_gamepad.lua:357 -- self.withdrawList.list:SetSortFunction(function(left, right)
local leftOrder = ENTRY_ORDER_OTHER
if left.isCurrenciesMenuEntry or left.currencyType then
leftOrder = ENTRY_ORDER_CURRENCY
end
local rightOrder = ENTRY_ORDER_OTHER
if right.isCurrenciesMenuEntry or right.currencyType then
rightOrder = ENTRY_ORDER_CURRENCY
end
if leftOrder < rightOrder then
return true
elseif leftOrder > rightOrder then
return false
elseif leftOrder == ENTRY_ORDER_OTHER then
return ZO_TableOrderingFunction(left, right, self:GetCurrentSortParams())
else
return false
end
end)