{"action":"created","issue":{"url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/6","repository_url":"https://api.github.com/repos/andela-cvundi/potatoORM","labels_url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/6/comments","events_url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/6/events","html_url":"https://github.com/andela-cvundi/potatoORM/pull/6","id":149069747,"number":6,"title":"fixed use of order clause","user":{"login":"guss77","id":381782,"avatar_url":"https://avatars.githubusercontent.com/u/381782?v=3","gravatar_id":"","url":"https://api.github.com/users/guss77","html_url":"https://github.com/guss77","followers_url":"https://api.github.com/users/guss77/followers","following_url":"https://api.github.com/users/guss77/following{/other_user}","gists_url":"https://api.github.com/users/guss77/gists{/gist_id}","starred_url":"https://api.github.com/users/guss77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guss77/subscriptions","organizations_url":"https://api.github.com/users/guss77/orgs","repos_url":"https://api.github.com/users/guss77/repos","events_url":"https://api.github.com/users/guss77/events{/privacy}","received_events_url":"https://api.github.com/users/guss77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-18T07:45:43Z","updated_at":"2016-04-18T09:37:41Z","closed_at":"2016-04-18T09:31:10Z","pull_request":{"url":"https://api.github.com/repos/andela-cvundi/potatoORM/pulls/6","html_url":"https://github.com/andela-cvundi/potatoORM/pull/6","diff_url":"https://github.com/andela-cvundi/potatoORM/pull/6.diff","patch_url":"https://github.com/andela-cvundi/potatoORM/pull/6.patch"},"body":"In SQL the ORDER BY clause should come before the LIMIT clause"},"comment":{"url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/comments/211296831","html_url":"https://github.com/andela-cvundi/potatoORM/pull/6#issuecomment-211296831","issue_url":"https://api.github.com/repos/andela-cvundi/potatoORM/issues/6","id":211296831,"user":{"login":"andela-cvundi","id":8840187,"avatar_url":"https://avatars.githubusercontent.com/u/8840187?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cvundi","html_url":"https://github.com/andela-cvundi","followers_url":"https://api.github.com/users/andela-cvundi/followers","following_url":"https://api.github.com/users/andela-cvundi/following{/other_user}","gists_url":"https://api.github.com/users/andela-cvundi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cvundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cvundi/subscriptions","organizations_url":"https://api.github.com/users/andela-cvundi/orgs","repos_url":"https://api.github.com/users/andela-cvundi/repos","events_url":"https://api.github.com/users/andela-cvundi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cvundi/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T09:37:41Z","updated_at":"2016-04-18T09:37:41Z","body":"I think Order by comes before limit... That makes more sense since I first have to apply a filter before limiting the number of results....http://stackoverflow.com/questions/4974639/is-mysql-limit-applied-before-or-after-order-by"}}