Hi Dedackelzucht, because I (almost) always try things myself before I reply, I'd like to try your definition. Could you upload it? (show your file, and everyone here will help you ;) ;) I'm going away for a swim but I will look at it later today. Bestimmt jemand wird dann schneller sein als ich..
in the past i have done this by:
1) 2D sort (like the other discussion)
2) Create a polyline through all the points.
3) Explode the polyline.
4) Cull lines longer than the length going from each row. Or if this doesn't work the the lines who's end points Y value doesn't match
5) join all remaining curves. this gives you polylines for each row.
6) From these you can extract control points that will be on differrent branches
i would demonstrate this but i'm stuck watching the wedding at a friend's and until mcneel makes a rhinoid with gh app you'll have to wait 'til later