public function orderIndexes() {
        $result = $this->orderElements($this->indexes);
        if ($result) {
            $this->setIndexes($result);
            return true;
        } else {
            return false;
        }
    }
public function orderIndexes() {
        $result = $this->orderElements($this->indexes);
        if ($result) {
            $this->setIndexes($result);
            return true;
        } else {
            return false;
        }
    }
public function orderIndexes ( ) { $ result = $ this -> orderElements ( $ this -> indexes ) ; if ( $ result ) { $ this -> setIndexes ( $ result ) ; return true ; } else { return false ; } }
This function will reorder the array of indexes
@return bool whether the reordering succeeded.
This function will reorder the array of indexes