{"action":"created","issue":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1064","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1064/comments","events_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1064/events","html_url":"https://github.com/angular-translate/angular-translate/issues/1064","id":85040209,"number":1064,"title":"Elegant way to sort ng-options by translation","user":{"login":"sclausen","id":916076,"avatar_url":"https://avatars.githubusercontent.com/u/916076?v=3","gravatar_id":"","url":"https://api.github.com/users/sclausen","html_url":"https://github.com/sclausen","followers_url":"https://api.github.com/users/sclausen/followers","following_url":"https://api.github.com/users/sclausen/following{/other_user}","gists_url":"https://api.github.com/users/sclausen/gists{/gist_id}","starred_url":"https://api.github.com/users/sclausen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sclausen/subscriptions","organizations_url":"https://api.github.com/users/sclausen/orgs","repos_url":"https://api.github.com/users/sclausen/repos","events_url":"https://api.github.com/users/sclausen/events{/privacy}","received_events_url":"https://api.github.com/users/sclausen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-translate/angular-translate/labels/waiting","name":"waiting","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T10:56:16Z","updated_at":"2015-09-15T17:29:21Z","closed_at":"2015-09-15T17:29:21Z","body":"I've got an array of strings which have to be the value of a select box. This values should be translated and ordered by this translation.\r\n\r\nI've got a working example, http://jsfiddle.net/urk9nkog/ but is there a more elegant way to sort by the translated value, than making a function doing it?"},"comment":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/comments/140473801","html_url":"https://github.com/angular-translate/angular-translate/issues/1064#issuecomment-140473801","issue_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1064","id":140473801,"user":{"login":"knalli","id":65389,"avatar_url":"https://avatars.githubusercontent.com/u/65389?v=3","gravatar_id":"","url":"https://api.github.com/users/knalli","html_url":"https://github.com/knalli","followers_url":"https://api.github.com/users/knalli/followers","following_url":"https://api.github.com/users/knalli/following{/other_user}","gists_url":"https://api.github.com/users/knalli/gists{/gist_id}","starred_url":"https://api.github.com/users/knalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knalli/subscriptions","organizations_url":"https://api.github.com/users/knalli/orgs","repos_url":"https://api.github.com/users/knalli/repos","events_url":"https://api.github.com/users/knalli/events{/privacy}","received_events_url":"https://api.github.com/users/knalli/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T17:29:21Z","updated_at":"2015-09-15T17:29:21Z","body":"That is at least not relevant to translate.\r\n\r\nWell, I would not change the values (and translate) in the sorting filter.\r\n\r\nWhat about this? http://jsfiddle.net/mut5yycn/1/"}}