role: user

content: Create a Python function to sort a list


role: assistant

content: Here's a Python function to sort a list:


content:
```python
def sort_list(lst):
    return sorted(lst)
```


content: Can you add type hints?


content: Here's the updated version with type hints: