Segments with non-adjacent LEDs possible?

hi, is it possible to create groups with non-adjacent LEDs?

eg:

Group1: LED 1-10, 31-40

Group2: LED 11-20, 41-50

Found already what i need: Mapping - WLED Project