给定一个英文句子，使用逗号将其中的所有子句分隔开来，并按字母顺序对子句进行排序。
句子：The cat ate the mouse, and then it took a nap, but it woke up shortly afterwards.
The cat ate the mouse, and then it took a nap, but it woke up shortly afterwards. 
分隔后的子句：and then it took a nap, but it woke up shortly afterwards, The cat ate the mouse.
排序后的子句：But it woke up shortly afterwards, and then it took a nap, The cat ate the mouse.