{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1277","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1277/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1277/events","html_url":"https://github.com/realm/realm-cocoa/issues/1277","id":53084334,"number":1277,"title":"Is it possible to sort by string length of a property","user":{"login":"webmagnets","id":1189875,"avatar_url":"https://avatars.githubusercontent.com/u/1189875?v=3","gravatar_id":"","url":"https://api.github.com/users/webmagnets","html_url":"https://github.com/webmagnets","followers_url":"https://api.github.com/users/webmagnets/followers","following_url":"https://api.github.com/users/webmagnets/following{/other_user}","gists_url":"https://api.github.com/users/webmagnets/gists{/gist_id}","starred_url":"https://api.github.com/users/webmagnets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmagnets/subscriptions","organizations_url":"https://api.github.com/users/webmagnets/orgs","repos_url":"https://api.github.com/users/webmagnets/repos","events_url":"https://api.github.com/users/webmagnets/events{/privacy}","received_events_url":"https://api.github.com/users/webmagnets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-12-30T00:42:00Z","updated_at":"2015-01-05T23:09:41Z","closed_at":null,"body":"Lets say I have:\r\n\r\n     class Quote: RLMObject {\r\n       dynamic var sentence = \"\"\r\n     }\r\n\r\nCould I sort an RLMResults, generated by a query, by the length of the sentence property?"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/68799052","html_url":"https://github.com/realm/realm-cocoa/issues/1277#issuecomment-68799052","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1277","id":68799052,"user":{"login":"alazier","id":250144,"avatar_url":"https://avatars.githubusercontent.com/u/250144?v=3","gravatar_id":"","url":"https://api.github.com/users/alazier","html_url":"https://github.com/alazier","followers_url":"https://api.github.com/users/alazier/followers","following_url":"https://api.github.com/users/alazier/following{/other_user}","gists_url":"https://api.github.com/users/alazier/gists{/gist_id}","starred_url":"https://api.github.com/users/alazier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alazier/subscriptions","organizations_url":"https://api.github.com/users/alazier/orgs","repos_url":"https://api.github.com/users/alazier/repos","events_url":"https://api.github.com/users/alazier/events{/privacy}","received_events_url":"https://api.github.com/users/alazier/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T23:09:41Z","updated_at":"2015-01-05T23:09:41Z","body":"I think the proper solution here is to support sorting by keypath. Will change the issue name accordingly."}}