/** * Change the ordering of the records of the table * * @param string $where The WHERE clause of the SQL used to fetch the order * * @return static Self, for chaining * * @throws \UnexpectedValueException */ public function reorder($where = '') { if (empty($where)) { $where = $this->getReorderWhere(); } return parent::reorder($where); }