Microsoft interview question

Algorithm question involving multiple Sorts