This problem is used in private contest:排序问题