public function toSQL()
    {
        if (! $this->has()) return '';

        $sql = [];
        $sql[] = 'ORDER BY';

        $sub = array();
        foreach ($this->conditions as $condition) {
            $sub[] = $condition;
        }
        $sql[] = join(', ', $sub);

        return join(' ', $sql);
    }