Its surely no bulletproof approach and depends on that your adjacent curves dont differ to much in their shape but you could do a check if the start of neighbour curves approximately aim into the same direction. Get the tangent vector of each curve at start parameter, then get the angles between them. If they are less than 90 degrees, they probably aim into the same dircetion, otherwise you would do a reverse. You also could take the different distances of start and end cvs into account. As i said, thats surely not a bulletproof thing.