Four ways to walk one tree, and why only in-order comes out sorted.
About this comparison
One binary search tree of 7 nodes, 41 at the root, is walked four ways on one clock. Every walk visits one node per beat, so all four finish together: the race is in the order the same values come out.
The three depth-first orders make the same moves: down the left subtree and back, then down the right subtree and back. They differ only in when the node itself is written out. Pre-order writes it before both subtrees: 41 23 12 35 67 54 89. In-order writes it between them: 12 23 35 41 54 67 89. Post-order writes it after both: 12 35 23 54 89 67 41.
Level-order is breadth-first search. It takes nodes from a queue, row by row, left to right: 41 23 67 12 35 54 89. Its walker jumps rather than crawls, because the next node comes off the queue, not from a neighbour.
All four visit each node once, O(n) time. The depth-first orders hold one root-to-leaf path on the call stack, O(h) for a tree of height h; the level-order queue holds a whole row, up to about half the nodes of a full tree. So the cost is the same; what each order gives you is not.
Nobody wins on speed: all four end on visit 7 of 7. The same 7 values come out in 4 different orders, and in-order reads this binary search tree back sorted, 12 to 89, because every left subtree holds smaller values and every right subtree larger ones. Pre-order and level-order both open on the root, 41; post-order ends on it.
Use pre-order to copy or save a tree, since it meets each parent before its children. Use in-order on a binary search tree for sorted output or the k-th smallest value. Use post-order when a node needs its children answered first: heights, sizes, deleting a tree.
Use level-order when the question is about depth: the shallowest leaf, the view from the right side, printing a tree row by row. On a wide, shallow tree depth-first uses less memory; on a deep, narrow one the queue stays small.