fixed adoptee sort bug