Grid/Grid.php
public function setColumnsOrder(array $columnIds, $keepOtherColumns = true)
    {
        $this->columns->setColumnsOrder($columnIds, $keepOtherColumns);

        return $this;
    }
public function setColumnsOrder(array $columnIds, $keepOtherColumns = true)
    {
        $this->columns->setColumnsOrder($columnIds, $keepOtherColumns);

        return $this;
    }
Sets order of Columns passing an array of column ids
If the list of ids is uncomplete, the remaining columns will be
placed after.

@param array $columnIds
@param bool  $keepOtherColumns

@return self