Microsoft Interview Question

Something related to a n*k table and sorting