Dividing a list based on their groups

Hi.
based on the pics I have a list of lies and closed shapes. I want to divide the list into 2 separate lists of lines and shapes (profiles) and perform a 1 rail sweep to create a curtain wall.
How can I divide the list?

Have you tried component “split list”?

thx a lot
the solution was tree branch.