Sort list according to list of indices

Dear dynamo users,
I’m trying to re order the List of points according to the sequence of the indices as derived by sort by value of their X coordinate
image

List.SortByKey node: Dynamo Dictionary