Meta interview question

Sort a binary tree of nodes