Testing auto orderBy for categories