lua-users home
lua-l archive

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


On Thu, Jun 5, 2014 at 9:44 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>     table.sort(some_table, __lt)
>
> would be immediately understandable though not pretty.

There's always the way that Python does it, also supported in PL from
the days when I was still slavishly porting Python modules:

table.sort(some_table,operator.lt)