I come back to you again and I ask for your help.
Here I have a data tree whose branches contain at least one duplicated item with another branch (numbers 100…900).I want to shift one of branches that contain duplicated items so that these items are even or odd. The attached image explains the expected result. I noted the branches which contain duplicated items and I compared their idexes (odd or even), if they are the same I made a shift to the second branch. but the result is not correct. what is wrong.
DataTree_Duplicated_Item_Even_Or_Odd.gh (19.4 KB)