We need a way to order our collections by a field ascending or descending
Proposed Changes
Create orderBy and listenOrdered methods
Add orderBy named args to where and listenWhere
Automatically add an orderBy clause matching the first where clause field if orderBy is not empty and doesn't contain a matching field (firebase rule).
Type of Change
[x] โจ New feature (non-breaking change which adds functionality)
[ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Resolves Issue #29
Reason for Change
Proposed Changes
orderBy
andlistenOrdered
methodswhere
andlistenWhere
orderBy
clause matching the firstwhere
clause field iforderBy
is not empty and doesn't contain a matching field (firebase rule).Type of Change
Checklist