sortModels() protected method
Sorts the data models according to the given sort definition
protected array sortModels ( $models, $sort ) | ||
---|---|---|
$models | array |
The models to be sorted |
$sort | yii\data\Sort |
The sort definition |
return | array |
The sorted data models |
Please login to continue.