order by nested associations
better way of identifying daoFactories