{"action":"created","issue":{"url":"https://api.github.com/repos/slamdata/slamengine/issues/747","labels_url":"https://api.github.com/repos/slamdata/slamengine/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/slamdata/slamengine/issues/747/comments","events_url":"https://api.github.com/repos/slamdata/slamengine/issues/747/events","html_url":"https://github.com/slamdata/slamengine/issues/747","id":83625998,"number":747,"title":"Ordering issues","user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slamdata/slamengine/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/slamdata/slamengine/labels/ready","name":"ready","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slamdata/slamengine/milestones/11","html_url":"https://github.com/slamdata/slamengine/milestones/ASAP","labels_url":"https://api.github.com/repos/slamdata/slamengine/milestones/11/labels","id":1142034,"number":11,"title":"ASAP","description":"","creator":{"login":"jdegoes","id":156745,"avatar_url":"https://avatars.githubusercontent.com/u/156745?v=3","gravatar_id":"","url":"https://api.github.com/users/jdegoes","html_url":"https://github.com/jdegoes","followers_url":"https://api.github.com/users/jdegoes/followers","following_url":"https://api.github.com/users/jdegoes/following{/other_user}","gists_url":"https://api.github.com/users/jdegoes/gists{/gist_id}","starred_url":"https://api.github.com/users/jdegoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdegoes/subscriptions","organizations_url":"https://api.github.com/users/jdegoes/orgs","repos_url":"https://api.github.com/users/jdegoes/repos","events_url":"https://api.github.com/users/jdegoes/events{/privacy}","received_events_url":"https://api.github.com/users/jdegoes/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2015-06-01T01:16:20Z","updated_at":"2015-06-01T20:34:51Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-06-01T18:04:31Z","updated_at":"2015-06-01T20:34:51Z","closed_at":"2015-06-01T20:34:51Z","body":"I was trying out your demo, and modified the city population demo to add an ordering:\r\n\r\n```sql\r\nSELECT DISTINCT state, SUM(pop) AS pop FROM \"/slamengine-test-01/zips\" WHERE city = UPPER(:name) GROUP BY state \r\nORDER BY pop\r\n```\r\n\r\nbut the ordering seems to be descending per-page instead of ascending globally.\r\n\r\nChanging the ordering to `ORDER BY pop DESC` returns an ascending set per-page, but still, the results are not globally ascending, only ascending per-page."},"comment":{"url":"https://api.github.com/repos/slamdata/slamengine/issues/comments/107699201","html_url":"https://github.com/slamdata/slamengine/issues/747#issuecomment-107699201","issue_url":"https://api.github.com/repos/slamdata/slamengine/issues/747","id":107699201,"user":{"login":"sellout","id":33031,"avatar_url":"https://avatars.githubusercontent.com/u/33031?v=3","gravatar_id":"","url":"https://api.github.com/users/sellout","html_url":"https://github.com/sellout","followers_url":"https://api.github.com/users/sellout/followers","following_url":"https://api.github.com/users/sellout/following{/other_user}","gists_url":"https://api.github.com/users/sellout/gists{/gist_id}","starred_url":"https://api.github.com/users/sellout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sellout/subscriptions","organizations_url":"https://api.github.com/users/sellout/orgs","repos_url":"https://api.github.com/users/sellout/repos","events_url":"https://api.github.com/users/sellout/events{/privacy}","received_events_url":"https://api.github.com/users/sellout/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T20:34:51Z","updated_at":"2015-06-01T20:34:51Z","body":"The order is coming back over HTTP correctly. I’m guessing the frontend is reversing the results as it reads the line-delimited JSON. I’m going to close this in favor of slamdata/slamdata#213."}}