Add SortableQueryTest

- `testDefaultSortedQueryResult`
- `testAscendingOrderedQueryResult`
- `testDescendingOrderedQueryResult`
- Throw exception for an invalid sortkey, order assignment