Hi,
I create a list of itemkeys.
Code:
local index = 0;
for k in next, test do
index = (index + 1);
table.insert(itemkeys, C_AuctionHouse.MakeItemKey(test[k].id) )
end
local sorts = { sortOrder = Enum.AuctionHouseSortOrder.Price, reverseSort = false }
C_AuctionHouse.SearchForItemKeys(itemkeys, sorts)
local result = C_AuctionHouse.GetBrowseResults();
The problem is that the result ist not sorted. what is wrong?