Sort curves to enclosed points

i have 9 closed curves and 9 points, each point residing inside one curve. the two lists derive from different sources so they dont match.
the desired order is the one from the points. how can i sort the curves according to the order of their respective enclosed point?
i can find some components to sort the points to the curves likeInCurves but none for the opposite. (1.7 KB)

Hi brt
Your Grasshopper file has no curve data.

You can try these two methods. The first method is to use the “Point In Curve” component.

Another approach is to use the “Closest Point” component. (11.4 KB)

had tried both solutions before my original post but obviously still have a hard time understanding how to sort lists. (9.0 KB)

thanks to you, too!