public function orderBy($col = 'id', $type='asc')
    {
        try {
            if (!is_null($this->query)) {
                $this->query .= ' ORDER BY '.$col. ' '.$type;
                return $this;
            }

        } catch (\Exception $exception) {
            var_dump($exception->getMessage());
        }
    }