How so I go about constructing a binary search tree from a text file, which has letters and numbers, which must be sorted and printed in ascending order.
E.g. Text file contents
3 apples pears 1 cats dogs 4 bricks stones 2 men women
Then I need to use string tokenizer and BST so that it prints out
1 cats dogs 2 men women 3 apples pears 4 bricks stones