/** * Return whether any sort rules were applied to this query * * @return bool */ public function hasOrder() { return $this->query->hasOrder(); }