Back to Home
ESO Function Data v101042
SetSortFunction()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- ingame/banking/gamepad/bankingcommon_gamepad.lua:365 -- 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)
- ingame/giftinventory/keyboard/giftinventoryreceived_keyboard.lua:14 -- self:SetSortFunction(function(leftEntry, rightEntry) return ZO_GiftInventory_Manager.CompareReceived(leftEntry.data, rightEntry.data, self.currentSortKey, self.currentSortOrder) end)
- ingame/giftinventory/keyboard/giftinventoryreturned_keyboard.lua:14 -- self:SetSortFunction(function(leftEntry, rightEntry) return ZO_GiftInventory_Manager.CompareReturned(leftEntry.data, rightEntry.data, self.currentSortKey, self.currentSortOrder) end)
- ingame/giftinventory/keyboard/giftinventorysent_keyboard.lua:14 -- self:SetSortFunction(function(leftEntry, rightEntry) return ZO_GiftInventory_Manager.CompareSent(leftEntry.data, rightEntry.data, self.currentSortKey, self.currentSortOrder) end)
- ingame/giftinventory/keyboard/giftinventorythanked_keyboard.lua:14 -- self:SetSortFunction(function(leftEntry, rightEntry) return ZO_GiftInventory_Manager.CompareSent(leftEntry.data, rightEntry.data, self.currentSortKey, self.currentSortOrder) end)
- ingame/lfg/gamepad/zo_activityfinderroot_gamepad.lua:266 -- list:SetSortFunction(PrioritySort)
- ingame/tradinghouse/gamepad/tradinghouse_listings_gamepad.lua:36 -- list:SetSortFunction(function(left, right)
return ZO_TableOrderingFunction(left, right, self:GetCurrentSortParams())
end)
- 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)