group events by project