AVL Tree, Tree Sort