public function getOrderBy()
    {
        $template = "ORDER BY %s";
        $orderBy = null;
        if (!is_null($this->_sql->orderBy)) {
            $orderBy = trim(sprintf($template, $this->_sql->getOrderBy()));
        }
        return $orderBy;
    }