将一个含有10个元素的列表重新排列，使得列表中的元素按照字母表顺序排列，并按照排列后的顺序输出这个列表。


["apple", "banana", "grape", "orange", "lemon", "melon", "pear", "cherry", "kiwi", "pineapple"]
你可以使用Python中的sort()方法将列表按照字母表顺序排列，然后使用for循环输出排列后的列表元素。代码如下：

```python
fruits = ["apple", "banana", "grape", "orange", "lemon", "melon", "pear", "cherry", "kiwi", "pineapple"]

fruits.sort()

for fruit in fruits:
    print(fruit)
```

输出：

```python
apple
banana
cherry
grape
kiwi
lemon
melon
orange
pear
pineapple
```