Sure! Here is an example of how you can sort a list/array in ascending order in python:

```python
def sort_list(arr: list) -> list:
   arr.sort()
   return arr
```

We are calling it `list` instead of `array` because that's what they are referred to in python.
We are still using the `arr` name as the parameter because the `list` name is reserved by the list type.

The `sort` method is available on any `list` and sorts the elements in place in ascending order.
The function also returns the same list to be consistent with the rust code from before.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence