/** * Defines fields on which to order the current query. * @param string $orderBy * @return QueriableEntity */ public function orderby($orderBy) { $this->reloadQueryAdapter(); $this->activeQuery->orderby($orderBy); return $this; }