fix code to get id/rev on search
order families and species