2,875
edits
No edit summary |
No edit summary |
||
Line 186: | Line 186: | ||
function funlist:sort() | function funlist:sort() | ||
table.sort(self.mytable) | table.sort(self.mytable) | ||
return self | |||
end | |||
function funlist:sortDecending() | |||
table.sort(self.mytable, function(left, right) return left > right end) | |||
return self | return self | ||
end | end |
edits