/** * Set the orderby * * @param string $key * @param string $direction * @return \Kanso\Database\Query\Builder */ public function ORDER_BY($key, $direction = 'DESC') { $key = $this->queryFilter($key); $this->Query->order_by($key, $direction); return $this; }