Open Stiivi opened 11 years ago
This:
p.sort([["firstname", "asc"]])
looks unintuitive, despite being correct.
Allow:
p.sort("firstname")
This would be nice to have, but should not be allowed as it is ambiguous:
p.sort(["firstname", "asc"])
Does it mean to sort firstname ascending or it means sort by fields firstname and asc in default (ascending) order?
firstname
asc
This:
looks unintuitive, despite being correct.
Allow:
This would be nice to have, but should not be allowed as it is ambiguous:
Does it mean to sort
firstname
ascending or it means sort by fieldsfirstname
andasc
in default (ascending) order?