How to sort a list in 4 different lists

hello grasshopper community!
I´m a preety new grasshopper user can someone help me divide a mapped list from 1 to 4? so that this list is divided into 4 lists, each one that groups the numbers from 0 to 1, from 1 to 2, from 2 to 3 and from 3 to 4.
thanks!
Emilio.

para pregunta.gh (909.8 KB)

There are a number of ways to achieve this; here’s how I would do it. I’d construct the domains you’re talking about (0 to 1, 1 to 2, etc), graft the list of domains, and then use “domain includes” to dispatch the resulting list.


para pregunta.gh (678.0 KB)
You could also use “Find domain” with Assign paths from tree frog to achieve a similar result:

2 Likes

cool! thanks Andrew