Sort + Retrieve Tree items by Member Index

Hi all,

As image shown below, I try to sort a data by using Create Set and Member Index.
The data input with multiple paths therefore the result is not desired at the end with List Item.
Any idea to fix this?


Sort+Retrieve tree (9.4 KB)

Sort+Retrieve tree (10.8 KB)

@HS_Kim Thanks for the quick reply,

The lower part is my current version, however instead of Shift Path I wonder if there’s another way to do so (just in case if the data become single path in some cases).

If not maybe I should do a gate to prevent such thing happen?