Google Interview Question

Given a young tableaux. Figure out how to sort elements.