* $query->order('field, 'ASC') * * * @param string $field * @param int $direction * * @return self */ public function order($field, $direction = null); /** * Whether an order is set * * @return bool */ public function hasOrder(); /** * Get the order if any * * @return array|null */ public function getOrder(); }