src/Services/Sorter.php
public function makeUrl($element)
    {
        return \admin\helpers\qsRoute(null, [
            'sort_by' => $element,
            'sort_dir' => $this->proposeDirection($element),
        ]);
    }
public function makeUrl($element)
    {
        return \admin\helpers\qsRoute(null, [
            'sort_by' => $element,
            'sort_dir' => $this->proposeDirection($element),
        ]);
    }
public function makeUrl ( $ element ) { return \ admin \ helpers \ qsRoute ( null , [ 'sort_by' => $ element , 'sort_dir' => $ this -> proposeDirection ( $ element ) , ] ) ; }
Build sortable url.

@param $element

@return string
Build sortable url .