gaia multi avl tree's compare operator implement.