[color=#222222][size=2]i have an issue with Karthiks Select 2 widget , when i choose lets say 3 lists, its reorder them randomly , how i can control ordering the items ?[/size][/color]
[color=#222222][size=2]this is my code[/size][/color]
[color=#222222][size=2]
<?php echo Select2::widget([
'attribute' => 'country_id',
'value' => '',
'model' => $model,
'data' =>ArrayHelper::map(Countries::find()->all(), 'id', 'name'),
'options' => ['multiple' => true, 'placeholder' => '']
]);
?>
[/size][/color]