/** * Returns the sortorder of the grade categories' associated grade_item * * This method is also available in grade_item for cases where the object type is not known. * * @return int Sort order */ public function get_sortorder() { $this->load_grade_item(); return $this->grade_item->get_sortorder(); }