Signavio interview question

Sort binary tree