{"action":"created","issue":{"url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/59","labels_url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/59/comments","events_url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/59/events","html_url":"https://github.com/RisingStack/graffiti-mongoose/issues/59","id":117423732,"number":59,"title":"Sorting by arbitrary field","user":{"login":"marcoreat","id":15048404,"avatar_url":"https://avatars.githubusercontent.com/u/15048404?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoreat","html_url":"https://github.com/marcoreat","followers_url":"https://api.github.com/users/marcoreat/followers","following_url":"https://api.github.com/users/marcoreat/following{/other_user}","gists_url":"https://api.github.com/users/marcoreat/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoreat/subscriptions","organizations_url":"https://api.github.com/users/marcoreat/orgs","repos_url":"https://api.github.com/users/marcoreat/repos","events_url":"https://api.github.com/users/marcoreat/events{/privacy}","received_events_url":"https://api.github.com/users/marcoreat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-17T18:54:17Z","updated_at":"2015-11-20T13:59:01Z","closed_at":"2015-11-20T13:38:43Z","body":"Is there a way to specify the order of items returned by the server, e.g. `{ sort: { score: 1 } }`?\r\n\r\nAs far as I know, Relay and GraphQL have no concept of sorting. I was wondering if graffiti-mongoose allows adding the `sort` parameter to the generated queries. Or maybe there is a way to build custom queries and attach them to auto-generated ones?"},"comment":{"url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/comments/158409313","html_url":"https://github.com/RisingStack/graffiti-mongoose/issues/59#issuecomment-158409313","issue_url":"https://api.github.com/repos/RisingStack/graffiti-mongoose/issues/59","id":158409313,"user":{"login":"marcoreat","id":15048404,"avatar_url":"https://avatars.githubusercontent.com/u/15048404?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoreat","html_url":"https://github.com/marcoreat","followers_url":"https://api.github.com/users/marcoreat/followers","following_url":"https://api.github.com/users/marcoreat/following{/other_user}","gists_url":"https://api.github.com/users/marcoreat/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoreat/subscriptions","organizations_url":"https://api.github.com/users/marcoreat/orgs","repos_url":"https://api.github.com/users/marcoreat/repos","events_url":"https://api.github.com/users/marcoreat/events{/privacy}","received_events_url":"https://api.github.com/users/marcoreat/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T13:59:01Z","updated_at":"2015-11-20T13:59:01Z","body":"Thanks! :tada: "}}