public function link(FieldConfig $column, $direction)
    {
        return (new GridInputProcessor($this->grid))
            ->setSorting($column, $direction)
            ->getUrl();
    }
public function link(FieldConfig $column, $direction)
    {
        return (new GridInputProcessor($this->grid))
            ->setSorting($column, $direction)
            ->getUrl();
    }
public function link ( FieldConfig $ column , $ direction ) { return ( new GridInputProcessor ( $ this -> grid ) ) -> setSorting ( $ column , $ direction ) -> getUrl ( ) ; }
Returns URL for sorting control.

@param FieldConfig $column
@param $direction
@return string
Returns URL for sorting control .