original_docstring: 
      Sort rows based on some key field or fields. E.g.::
  
          >>> from petl.push import sort, tocsv
          >>> p = sort('foo')
          >>> p.pipe(tocsv('sorted_by_foo.csv'))
          >>> p.push(sometable)
  
      
docstring: Sort rows based on some key field or fields.
docstring_tokens: Sort rows based on some key field or fields .
code: def sort(key=None, reverse=False, buffersize=None):
      """
      Sort rows based on some key field or fields. E.g.::
  
          >>> from petl.push import sort, tocsv
          >>> p = sort('foo')
          >>> p.pipe(tocsv('sorted_by_foo.csv'))
          >>> p.push(sometable)
  
      """
  
      return SortComponent(key=key, reverse=reverse, buffersize=buffersize)
code_tokens: def sort ( key = None , reverse = False , buffersize = None ) : return SortComponent ( key = key , reverse = reverse , buffersize = buffersize )
short_docstring: Sort rows based on some key field or fields.
short_docstring_tokens: Sort rows based on some key field or fields .
comment: """
      Sort rows based on some key field or fields. E.g.::
  
          >>> from petl.push import sort, tocsv
          >>> p = sort('foo')
          >>> p.pipe(tocsv('sorted_by_foo.csv'))
          >>> p.push(sometable)
  
      """