Anonymous

Module:FunList: Difference between revisions

From Melvor Idle
no edit summary
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
2,875

edits