Create TreeSort