added orderBy for DataService.query