added order by to daos and changed fetch for all entityes