angular-ui / ui-select2

AngularJS wrapper for select2 (deprecated, use angular-ui/ui-select)
https://github.com/angular-ui/ui-select
MIT License
596 stars 443 forks source link

Options cannot be sorted by value (only sorting by key is supported) #286

Open tztz opened 9 years ago

tztz commented 9 years ago

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.

It would be great if angular-ui/ui-select2 added a feature that enables (configurable) to sort by value as well.