original_string: final protected function group_by($column, $order = 'ASC'){
          $order = 'DESC' === strtoupper($order) ? 'DESC' : 'ASC';
          $this->_group_by[] = sprintf('%s %s', $this->escape_column_name($column), $order);
          return $this;
      }
code: final protected function group_by($column, $order = 'ASC'){
          $order = 'DESC' === strtoupper($order) ? 'DESC' : 'ASC';
          $this->_group_by[] = sprintf('%s %s', $this->escape_column_name($column), $order);
          return $this;
      }
code_tokens: final protected function group_by ( $ column , $ order = 'ASC' ) { $ order = 'DESC' === strtoupper ( $ order ) ? 'DESC' : 'ASC' ; $ this -> _group_by [ ] = sprintf ( '%s %s' , $ this -> escape_column_name ( $ column ) , $ order ) ; return $ this ; }
docstring: Add group by
  
  @param string $column
  @param string $order
  @return $this
docstring_tokens: Add group by