Brep edges sorting

How can I sort brep edges A like brep edges B? (29.6 KB)

Hi @Yatchun,

You can use flip curve in combination with a reference circle. (33.7 KB)

How understand how the markup section works ?

circles are always drawn the same way. If the normals of the surfaces are in the same direction it always works.

According to your way to do it, there will always be some unexpected results, I want to get the result is the same as the B order, but the fact is not! (35.0 KB) (37.6 KB)

Thank you all.