249bcd8f3f
The method name changed to sortedBy to reflect that it returns a new Results object and to be more succinct. Also, the second optional argument instead reflects descending (or rather, reverse) since it's an anti-pattern to have an optional argument default to true in JS, and this also follows precedences set by other JS libraries and by Python's sorted function. |
||
---|---|---|
.. | ||
asserts.js | ||
base-test.js | ||
index.js | ||
list-tests.js | ||
object-tests.js | ||
package.json | ||
query-tests.js | ||
realm-tests.js | ||
results-tests.js | ||
schemas.js | ||
util.js |