Organize by direction

Hi! does anybody know a way to organize these boxes in one branch per direcion (like in the picture). Thank you!!

directions.gh (55.6 KB)

Hi,

check attached. In group, boxes are organized by directions within crosses…

directions_RE.gh (70.0 KB)