Sort All by 2 Channels

Use the Database Tools > Channel Tools > Sort All by 2 Channels menu option (SORTALL2 GX) to sort all channels based on two reference channels. The data is first sorted by a primary reference channel, then for data with the same value in the primary reference channel, the data is sorted by the secondary channel.

Sort All by 2 Channels dialog options

Primary channel:

Primary channel on which to base the sort. The data will first be sorted by this channel, then by the secondary channel.

Script Parameter: SORTALL2.CHANNEL1

Primary sort:

Ascending or Descending.

Script Parameter: SORTALL2.ORDER1

Secondary channel

Secondary channel on which to base the sort. For data in which the primary channel is the same, the data will be sorted by the secondary channel.

Script Parameter: SORTALL2.CHANNEL2

Secondary sort

Ascending or Descending.

Script Parameter: SORTALL2.ORDER2

Sort read-only channels?

Yes to sort read-only channels, No to not sort read-only channels.

Script Parameter: SORTALL2.READONLY

Application Notes

If a channel is not sampled at the same rate as the reference channels, the reference channels are re-sampled to match the channel being sorted.

Note that .

If protected channels are not sorted, the fiducial relationships will be lost, and data integrity may be lost.