Organize gems into groups