Order of curves

hi
I want to join this curves with them but at the end I result a change in the order of curves and i can not create the surface.
curvesprob.gh (295.4 KB)


curvesprob_re.gh (302.2 KB)

thank you :heart_eyes: