public function orderBy($orderBy = NULL) {
        if (isset($orderBy)) {
            $this->setOrderBy($orderBy);
            return $this;
        }
        return $this->getOrderBy();
    }
public function orderBy($orderBy = NULL) {
        if (isset($orderBy)) {
            $this->setOrderBy($orderBy);
            return $this;
        }
        return $this->getOrderBy();
    }
public function orderBy ( $ orderBy = NULL ) { if ( isset ( $ orderBy ) ) { $ this -> setOrderBy ( $ orderBy ) ; return $ this ; } return $ this -> getOrderBy ( ) ; }
Retained for backward compatibility
@param null $orderBy
@return $this
@deprecated
Retained for backward compatibility