sort by name in initial query