4,951
edits
Falterfire (talk | contribs) (More attempts to adjust DR table formatting) |
Falterfire (talk | contribs) m (adjusted sorting one more time for DR table) |
||
Line 567: | Line 567: | ||
local DRTable = {} | local DRTable = {} | ||
table.sort(items, function(a, b) return a.name < b.name end) | |||
for i, item in pairs(items) do | for i, item in pairs(items) do | ||
Line 585: | Line 586: | ||
table.insert(resultPart, '\r\n|') | table.insert(resultPart, '\r\n|') | ||
if SlotTables[SlotName] ~= nil then | if SlotTables[SlotName] ~= nil then | ||
table.insert(resultPart, table.concat(SlotTables[SlotName], '<br/>')) | table.insert(resultPart, table.concat(SlotTables[SlotName], '<br/>')) | ||
end | end |