Updated tree-sort test-case

Remove redundant function. Made the results of the test-case easier to duplicate by making the vector on which the tree-sort was performed deterministic.