lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello

table.sort only works with the numerical part of the table
form 1 to #table (the *array* part). Your second approach
is a possibility.

I think this subject appeared in old posts in this list.
You can also consult:

http://lua-users.org/wiki/OrderedTable

http://lua-users.org/wiki/OrderedTableSimple


Manel.