Hello Everyone, I am trying to sort points on every curve according to the distance from the start point, so I tried to draw a line from the start point to each point and it worked only for one curve, and it went wrong when I tried to change the lacing for longest, is there any way to solve it to get these lines separately on every curve .

I am really appreciated for any help