Sort List with other list

Hello Everyone,

I am looking to sort list with other list but unable to get result which i am looking for :confused:

Thanks in Advance,

Assign a number to the different names, ie 1 = Partition (or use GetKeys node on your code block), then use List.SortByKey

Thanks Thomas but it doesn’t work. I get Warning: List.SortByKey operation failed.Number of items does not match the number of keys.

@craig Try this…

1 Like

Try this:

Thanks @Vikram_Subbaiah @Thomas_Mahon both solution worked.

1 Like