lua-users home
lua-l archive

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


> can anyone explain me how to sort a table whose keys are strings using a
> custom sorting function ?

What do you expect from a sorted table with string keys?
That pairs will list the entries in order?
That is not possible: a table is a bag of pairs, not ordered in any way.