Make getPlayerGroups() always return groups in application order (despite being a Set).