Add grouping by Preference