Can you list the code on the lines mentioned and/or the functions.
Nevermind, see you posted your addons code. We can only assume Chocolate.lua isn't bugged or there would be more issues regarding it.
I've not used lua sorting myself but took a look at how nUI uses and it looks to be the same functionality. The only thing I can think of is that the sort function isn't validating for a null value. Can you compare null values?
Last edited by Xrystal : 01-20-20 at 08:48 PM.
|