function order($orderBy, $reverse = false)
    {
        $this->requestDecorator->addParameter('order', ($reverse) ? "=" : "=-", $orderBy);
        return $this;
    }
function order($orderBy, $reverse = false)
    {
        $this->requestDecorator->addParameter('order', ($reverse) ? "=" : "=-", $orderBy);
        return $this;
    }
function order ( $ orderBy , $ reverse = false ) { $ this -> requestDecorator -> addParameter ( 'order' , ( $ reverse ) ? "=" : "=-" , $ orderBy ) ; return $ this ; }
Order results by a field.
@param $orderBy
@param bool $reverse
@return $this
Order results by a field .