2,875
edits
No edit summary |
No edit summary |
||
Line 243: | Line 243: | ||
function funlist:sortBy(selector) | function funlist:sortBy(selector) | ||
assert(selector) | assert(selector) | ||
table.insert(self. | table.insert(self.sortSelectors, { | ||
selector = selector, | selector = selector, | ||
ascending = true | ascending = true | ||
Line 252: | Line 252: | ||
function funlist:sortByDecending(selector) | function funlist:sortByDecending(selector) | ||
assert(selector) | assert(selector) | ||
table.insert(self. | table.insert(self.sortSelectors, { | ||
selector = selector, | selector = selector, | ||
ascending = false | ascending = false |
edits