Microsoft Interview Question

Sorting an array that is already k-sorted