{"action":"closed","issue":{"url":"https://api.github.com/repos/mariano-fiorentino/amid/issues/8","labels_url":"https://api.github.com/repos/mariano-fiorentino/amid/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mariano-fiorentino/amid/issues/8/comments","events_url":"https://api.github.com/repos/mariano-fiorentino/amid/issues/8/events","html_url":"https://github.com/mariano-fiorentino/amid/issues/8","id":70826150,"number":8,"title":"What's the correct syntax for sorting?","user":{"login":"eddieospaghettio","id":6988385,"avatar_url":"https://avatars.githubusercontent.com/u/6988385?v=3","gravatar_id":"","url":"https://api.github.com/users/eddieospaghettio","html_url":"https://github.com/eddieospaghettio","followers_url":"https://api.github.com/users/eddieospaghettio/followers","following_url":"https://api.github.com/users/eddieospaghettio/following{/other_user}","gists_url":"https://api.github.com/users/eddieospaghettio/gists{/gist_id}","starred_url":"https://api.github.com/users/eddieospaghettio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddieospaghettio/subscriptions","organizations_url":"https://api.github.com/users/eddieospaghettio/orgs","repos_url":"https://api.github.com/users/eddieospaghettio/repos","events_url":"https://api.github.com/users/eddieospaghettio/events{/privacy}","received_events_url":"https://api.github.com/users/eddieospaghettio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-25T00:06:47Z","updated_at":"2015-04-28T07:35:25Z","closed_at":"2015-04-28T07:35:25Z","body":"I have Amid set up here: http://54.214.110.58:8080/workshop/items/ and I can't seem to get sort to work properly.\r\n\r\nThe documentation says to use sort like this: GET /db/collection/?sort=[{\"property\":null,\"direction\":\"ASC\"}]\r\n\r\nWhen I go here it returns results, but they're not sorted: http://54.214.110.58:8080/workshop/items/?sort={\"property\":itemKey,\"direction\":\"ASC\"}\r\n\r\nSame thing happens if I try to sort by another property: http://54.214.110.58:8080/workshop/items/?sort={\"property\":creationDate,\"direction\":\"ASC\"}\r\n\r\nIs my syntax just wrong? If I try this it returns no results: http://54.214.110.58:8080/workshop/items/?sort={\"property\":null,\"direction\":\"ASC\"}\r\n\r\nSorry to bug you I just didn't know where else to ask.\r\n\r\nThanks,\r\nEddie Olivas\r\n\r\n"}}