生成一个包含10个数字的随机数列，并将这些数字从小到大排序。


生成数字的范围：1-100
Here is one possible solution in Python:

```python
import random

numbers = [random.randint(1, 100) for _ in range(10)]
sorted_numbers = sorted(numbers)

print(sorted_numbers)
```

This code first imports the `random` module, which provides the `randint()` function for generating random integers. It then uses a list comprehension to generate a list of 10 random integers between 1 and 100 (inclusive) and assigns it to the variable `numbers`. Finally, it sorts the list using the `sorted()` function and assigns the sorted list to the variable `sorted_numbers`. The sorted list is then printed to the console.