original_string: public function orderFields() {
          $result = $this->orderElements($this->fields);
          if ($result) {
              $this->setFields($result);
              return true;
          } else {
              return false;
          }
      }
code: public function orderFields() {
          $result = $this->orderElements($this->fields);
          if ($result) {
              $this->setFields($result);
              return true;
          } else {
              return false;
          }
      }
code_tokens: public function orderFields ( ) { $ result = $ this -> orderElements ( $ this -> fields ) ; if ( $ result ) { $ this -> setFields ( $ result ) ; return true ; } else { return false ; } }
docstring: This function will reorder the array of fields
  @return bool whether the reordering succeeded.
docstring_tokens: This function will reorder the array of fields