Group by room value

Is there a way to group these elements (windows) per room?
I want to have a list of the rooms and then sublists with the windows in those rooms…

It’s probably something real simple, but i can’t seem to figure it out…

Option-1: Swap the inputs for Element and ElementCheck
Option-2: Use the nodes as shown

Hi @Laura_POLO,

A list with then sublists per room is probably not really handy/ what you want, i would recommend just splitting the lists that you already have into 2 lists with List.GetItemAtIndex and List.RemoveItemAtIndex.