add sorting from generic dao