Sorting a list by another list Dynamo

So i am trying to work with some dynamo scripts created by a person who is no longer with out company, im close to what i need to i just need to figure out how to make the bottom list (circled in red) on here be sorted in the same order as the top list (circled in blue). Ive searched all over this forum and google to no success.

You can use List.SortByKey

1 Like

Try to get the index of the first item in the red list and get the indice values in the blue list, then use those indices to get the correct order :slight_smile: