public function resetOrderBy($orderName = null, $orderVal = '')
    {
        $this->_orderBy = array();
        if ($orderName !== null) {
            $this->orderBy($orderName, $orderVal);
        }

        return $this;
    }
public function resetOrderBy($orderName = null, $orderVal = '')
    {
        $this->_orderBy = array();
        if ($orderName !== null) {
            $this->orderBy($orderName, $orderVal);
        }

        return $this;
    }
public function resetOrderBy ( $ orderName = null , $ orderVal = '' ) { $ this -> _orderBy = array ( ) ; if ( $ orderName !== null ) { $ this -> orderBy ( $ orderName , $ orderVal ) ; } return $ this ; }
Reset the order clause from query

@param null   $orderName
@param string $orderVal

@return $this
Reset the order clause from query