sddssortcolumn [SDDSinput] [SDDSoutput] [-pipe=[input][,output]]
[-sortList=<list of columns in order>] [-decreasing]
[-bpmOrder] [-sortWith=<filename>,column=<string>]
switches:
-sortList=<column1>,<column2>,... — specify the order of column names in a list.
-pipe=[input][,output] — the standard SDDS Toolkit pipe option.
-sortWith=<filename>,column=<string> — sort columns by the order in column
<string> of <filename>; overrides other sorting.
-bpmOrder — sort columns by the assumed BPM position in the storage ring.
-decreasing — sort columns in decreasing order; default is increasing.
files: inputFile is an SDDS file whose columns will be rearranged. The outputFile argument is
optional. If it is not given and an output pipe is not selected, then the input file will be
replaced.