Fixed broken sorting behaviour in plugin_ajaxselect.