## DataProcessor.sort()


Sort data by a key.


Usage


``` python
DataProcessor.sort(
    key,
    reverse=False,
)
```


## Parameters


`key: str`  
Column name to sort by.

`reverse: bool = ``False`  
If True, sort in descending order.


## Returns


`DataProcessor`  
A new DataProcessor with sorted data.
