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.
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.