One of the advantages of working in the Unix operating system is that when a superior Unix system call for a particular operation exists, it is advantageous to use that call to perform the necessary task. Such a task is sorting, and the Unix ``sort'' command is just such a utility.
Susort takes advantage of the Unix system sort command to permit the sorting of traces by header field key work.
For example, sorting data (with values in ascending order) for two fields (cdp and offset) would be done via:
% susort <indata.su >outdata.su cdp offsetIn decending order for, offset, and ascending order for cdp
% susort <indata.su >outdata.su cdp -offsetNote: Only the following types of input/output are supported Disk input to any output, but pipe input to disk output.
Please see the demo in $CWPROOT/src/demos/Sorting_Traces for specific examples of trace sorting.