Re: [wxlua-users] ListView sorting

2007-11-02 Thread John Labenski
On 11/2/07, Attila <[EMAIL PROTECTED]> wrote: > Hi all! > > I am using a wx.wxListView in my program, and I want to sort the item > sometimes by columns. I found a call called SortItems(), but I couldn't > find out how it works. I tried to write a function like table.sort has in > LUA, but the item

[wxlua-users] ListView sorting

2007-11-02 Thread Attila
Hi all! I am using a wx.wxListView in my program, and I want to sort the item sometimes by columns. I found a call called SortItems(), but I couldn't find out how it works. I tried to write a function like table.sort has in LUA, but the items were always 0 < 0, even if the two items weren't