The preferred way to install this extension is through composer.
Either run
composer require "jscdev/yii2-dropdown-sorter @dev"
or add
"jscdev/yii2-dropdown-sorter": "@dev"
to the require section of your composer.json
file.
Using
'sorter' => [
'class' => 'jscdev\yii2\ButtonDropdownSorter',
'linkOptions' => [
'class' => 'dropdown-item',
'tabindex' => '-1'
],
'label' => 'Sort Items',
],