sort_observations [option]
By default observations are listed in the output file in the same order as they occur in the input file (except that grouped data may be reordered with the list grouped_data_by_type command). The sort_observations command can be used to obtain different orderings. The possible values for option are:
by_line
Observations are sorted according to the line measured. Observations between each pair of stations are grouped together regardless of which direction the observation was made. For example a distance measurement from station 01 to station 02 will be listed with measurements from 02 to 01. For observation types where the instrument and target are not interchangeable (for example horizontal angles) only the instrument station is used for sorting.
by_instrument_station
Observations are sorted first by the instrument station, then by the target station In this case a distance from 02 to 01 will be listed with other observations from 02, not with observations from 01 to 02.
by_type
Observations are sorted by the type of observation. In this case all the distances are listed first, then the angles, and so on.
If the sort_observations is used without a parameter then observations are sorted by line.