/** * Add a order by clause to query * * @param Order $orderBy * @return Query */ public function order(Order $orderBy) { $this->order = $orderBy->toSql(); return $this; }