Provide a code snippet that can sort a list of numbers
list = [3, 7, 1, 8, 5]
Here's a simple Python code snippet that can sort a list of numbers in ascending order:

```python
my_list = [3, 7, 1, 8, 5]
my_list.sort()
print(my_list)
```

This will output the sorted list: [1, 3, 5, 7, 8]
Complete the following task based on the instruction and optional input provided.### Instruction:
Provide a code snippet that can sort a list of numbers

### Input:
list = [3, 7, 1, 8, 5]

### Output:
Here's a simple Python code snippet that can sort a list of numbers in ascending order:

```python
my_list = [3, 7, 1, 8, 5]
my_list.sort()
print(my_list)
```

This will output the sorted list: [1, 3, 5, 7, 8]