Exploding intersection, python

I have an issue with the attached script:
explode-issue.gh (61.1 KB)

I would like them to be either in clock-wise or counter-clockwise order. As the exploding of these lines are not in order, it makes it very difficult for me to use it in my larger code.

In general try to Join the Crvs in question then check orientation then use the DuplicateSegments() RC Method.

See attached (you can rather easily translate it to P).

Curve_explode_ForAmateurs_V1.gh (13.1 KB)