Group by for Notifications