[Fix] - Correct the inorder output when we need to merge file