src/Services/Sorter.php
protected function proposeDirection($forElement)
    {
        $sortDir = $this->direction();

        return $forElement === $this->element() ? $this->reverseDirection($sortDir) : $sortDir;
    }
protected function proposeDirection($forElement)
    {
        $sortDir = $this->direction();

        return $forElement === $this->element() ? $this->reverseDirection($sortDir) : $sortDir;
    }
protected function proposeDirection ( $ forElement ) { $ sortDir = $ this -> direction ( ) ; return $ forElement === $ this -> element ( ) ? $ this -> reverseDirection ( $ sortDir ) : $ sortDir ; }
Propose new sort direction for element.

@param $forElement

@return string
Propose new sort direction for element .