{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select2/issues/286","labels_url":"https://api.github.com/repos/angular-ui/ui-select2/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select2/issues/286/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select2/issues/286/events","html_url":"https://github.com/angular-ui/ui-select2/issues/286","id":55618282,"number":286,"title":"Options cannot be sorted by value (only sorting by key is supported)","user":{"login":"tztz","id":96705,"avatar_url":"https://avatars.githubusercontent.com/u/96705?v=3","gravatar_id":"","url":"https://api.github.com/users/tztz","html_url":"https://github.com/tztz","followers_url":"https://api.github.com/users/tztz/followers","following_url":"https://api.github.com/users/tztz/following{/other_user}","gists_url":"https://api.github.com/users/tztz/gists{/gist_id}","starred_url":"https://api.github.com/users/tztz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tztz/subscriptions","organizations_url":"https://api.github.com/users/tztz/orgs","repos_url":"https://api.github.com/users/tztz/repos","events_url":"https://api.github.com/users/tztz/events{/privacy}","received_events_url":"https://api.github.com/users/tztz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T13:37:57Z","updated_at":"2015-01-27T13:37:57Z","closed_at":null,"body":"Options in select2/select2 (and also in angular-ui/ui-select2) selectboxes are sorted by key instead of by value. This cannot be changed by configuration. Since */select2 are sort of obsolete we are waiting for the native successor called angular-ui/ui-select which is - until now (as of writing) - not feature complete. Too bad.\r\n\r\nIt would be great if angular-ui/ui-select2 added a feature that enables (configurable) to sort by value as well."}}