private function getSort()
    {
        if ($sort = Utils::findKey($this->options, 'sort', false))
        {
            $this->payload['sort'] = $sort;
        }
    }
private function getSort()
    {
        if ($sort = Utils::findKey($this->options, 'sort', false))
        {
            $this->payload['sort'] = $sort;
        }
    }
private function getSort ( ) { if ( $ sort = Utils :: findKey ( $ this -> options , 'sort' , false ) ) { $ this -> payload [ 'sort' ] = $ sort ; } }
Allow sorting of results
Allow sorting of results