I have 3 polycurves, 1,2,3:
There’s a small gaps between starts and ends of them, simple grouping curves doesn’t work.
Starts and Ends of them:
Some of them are reversed, some not. Some are not in place to get closed loop, if connect 1.E-2.S,2.E-3.S with lines:
So, i need to sort that curves to connect Ends and Starts with lines and get closed loop.