original_string: public function removeOrder($fieldToRemove)
      {
          $order = array();
          if (count($order) > 0) {
              foreach ($this->fields as $field => $direction) {
                  if (strtolower($fieldToRemove) === strtolower($field)) {
                      continue;
                  }
                  $order[$field] = $direction;
              }
          }
          $this->fields = $order;
      }
code: public function removeOrder($fieldToRemove)
      {
          $order = array();
          if (count($order) > 0) {
              foreach ($this->fields as $field => $direction) {
                  if (strtolower($fieldToRemove) === strtolower($field)) {
                      continue;
                  }
                  $order[$field] = $direction;
              }
          }
          $this->fields = $order;
      }
code_tokens: public function removeOrder ( $ fieldToRemove ) { $ order = array ( ) ; if ( count ( $ order ) > 0 ) { foreach ( $ this -> fields as $ field => $ direction ) { if ( strtolower ( $ fieldToRemove ) === strtolower ( $ field ) ) { continue ; } $ order [ $ field ] = $ direction ; } } $ this -> fields = $ order ; }
docstring: Remove existing order
  
  @param string $fieldToRemove
docstring_tokens: Remove existing order