The conversation between human and AI assistant.
[|Human|] Provide a computer code snippet to sort an array.
[|AI|] Here's a simple code snippet to sort that array using Python:

```python
my_array = [2, 6, 3, 7, 1, 4]
my_array.sort()
print(my_array)
```

This will output:
```
[1, 2, 3, 4, 6, 7]
```
[|Human|] 
Provide a computer code snippet to sort an array.