Level of subpahts in curve

Hello everybody,
there is a way to determine the ranking of subpaths in a curve?
I've already tried 'clockwise', that does not work.
Enclosed a drawing for a better understanding what I mean.