Microsoft Interview Question

How do you sort a tree? Program for binary search