Entity/EntityService.php
protected function getSortingFromRequest(Request $request)
    {
        return $this->extractValues($this->getValuesFromRequest($request), $this->getSortingPrefix());
    }
protected function getSortingFromRequest(Request $request)
    {
        return $this->extractValues($this->getValuesFromRequest($request), $this->getSortingPrefix());
    }
protected function getSortingFromRequest ( Request $ request ) { return $ this -> extractValues ( $ this -> getValuesFromRequest ( $ request ) , $ this -> getSortingPrefix ( ) ) ; }
Returns the sorting options from the request.

@param \Symfony\Component\HttpFoundation\Request $request
@return array
Returns the sorting options from the request .