Pregunta de entrevista de Microsoft

How do you sort a tree? Program for binary search