Merge Sort and AVL Tree