Thread
:
Sorting tables with no garbage (table.sort alternatives)
View Single Post
07-09-11, 12:54 AM
#
4
Xinhuan
A Chromatic Dragonspawn
Join Date: Feb 2007
Posts: 174
Gooder:
Code:
local function MySortFunction(a, b) return a.name < b.name end table.sort(my_table, MySortFunction)
__________________
Author of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, GatherMate2, Routes and Cartographer_Routes
Xinhuan
View Public Profile
Send a private message to Xinhuan
Find More Posts by Xinhuan