将以下文本进行排序，使每个句子都按字母顺序排序，并将排序后的文本分别以换行符分隔的形式输出。


This is the first sentence.
This is the second sentence.
This is the third sentence.
This is the first sentence.
This is the second sentence.
This is the third sentence.

输出：

This is the first sentence.
This is the second sentence.
This is the third sentence.