It sounds like your looking for stringing this is a every day thing for CIVIL works, where a field survey is brought in from a points file or a survey instrument, the stringing is controlled by having a description as part of the point eg pt,X,Y,Z,Desc The points can be mixed up only criteria is that the points are processed in file order.
You just use CIV3D or other programs like "Stringer"
200,338725.774,6008196.374,101.284,01RTK2
201,338725.319,6008193.161,101.292,01RTK2
202,338725.331,6008192.495,101.289,01RTK2
203,338725.528,6008182.497,101.248,01RTK2
204,338725.725,6008172.498,101.206,01RTK2
205,338725.922,6008162.5,101.164,01RTK2
206,338726.118,6008152.502,101.122,01RTK2
207,338726.319,6008142.31,101.08,01RTK2
208,338726.554,6008140.324,101.064,01RTK2
209,338728.274,6008132.541,100.997,02RTK2
210,338728.948,6008102.548,100.892,02RTK2
211,338727.461,6008094.296,100.931,03RTK
212,338727.3,6008092.514,100.939,03RTK
213,338727.302,6008092.289,100.939,03RTK
214,338727.494,6008082.516,100.948,03RTK
215,338727.691,6008072.518,100.975,03RTK
216,338727.887,6008062.52,101.007,03RTK
217,338728.084,6008052.522,101.039,03RTK
218,338728.281,6008042.524,101.096,03RTK
219,338728.477,6008032.526,101.178,03RTK
220,338728.598,6008026.377,101.228,03RTK
221,338728.835,6008024.296,101.228,03RTK
222,338729.227,6008022.538,101.241,03RTK