binary search tree traversal inorder for sorting