gaia basic avl tree and basic list's compare operator implement.