group contacts by type instead of location