You can clone with
In users for example, the multiselect plugin should automatically sort the selected entries to be first because they are the most relevant.
cc @tanghus @icewind1991
I could add an option 'sorting':'alphaNumeric'|'checkedFirst'|'none' where 'none' is default.
@tanghus let’s just do it properly, not with an option. People shouldn’t be able to configure it to behave shittily. ;)
@jancborchardt I'd rather say let's do it properly, with an option. Programmers don't want shitty defaults ;) People - as in users - won't be able to configure it.
Developers are users too. And if there’s the option it will be changed, which will turn out crappy for users. Let’s see the options:
Of course options always seem cool, but most of the time they just don’t make sense.
Well "none" shouldn't be an option but what happened when the sorting argument wasn't given - as it is now.
It's not because options are cool, but because it would be a bad design decision to rearrange the list per default. The plugin shouldn't be tailored just to work in one use case, then it's not a plugin.
Since #994 is merged in this is fixed, yeah!