generics hash is no longer used
search parent recursively. sort methods more precisely