Generates sprites divided by group names