This problem is in Contest(s) below:
Contest 1240:数据排序
Contest 1701:数据排序
Contest 1509:分治算法及数据排序练习