The Task-Tuned Organization of Groups