public function getChildren()
    {
        return $this->owner
            ->hasMany($this->ownerClassName, [ $this->parentIdField => $this->primaryKey ])
            ->orderBy([
                "$this->tableName.$this->sortField" => SORT_ASC,
                "$this->tableName.$this->primaryKey" => SORT_ASC,
            ]);
    }
public function getChildren()
    {
        return $this->owner
            ->hasMany($this->ownerClassName, [ $this->parentIdField => $this->primaryKey ])
            ->orderBy([
                "$this->tableName.$this->sortField" => SORT_ASC,
                "$this->tableName.$this->primaryKey" => SORT_ASC,
            ]);
    }
public function getChildren ( ) { return $ this -> owner -> hasMany ( $ this -> ownerClassName , [ $ this -> parentIdField => $ this -> primaryKey ] ) -> orderBy ( [ "$this->tableName.$this->sortField" => SORT_ASC , "$this->tableName.$this->primaryKey" => SORT_ASC , ] ) ; }
Return next level children
@return \yii\db\ActiveQueryInterface
Return next level children