Just for kicks, I started playing with a shape similar to the diagram posted yesterday:
And found that sorting points along a circle failed miserably in reconstructing the base curve, even when it was already oriented correctly. So I looked at your C# ‘ClosedCurveOrientation()’ component and thought it would be better if it returned the curve I want instead of a Boolean result that requires more handling, basically a conditional Flip Curve.
I tried it in Python and hit a snag I couldn’t solve, so started a new thread just for that: