Adding `sort` to ordering
Fixing tests that should have caught broken sort
Adding explicit sorting test
Merge pull request #21 from andrewhayward/20-query-ordering

Query sorting