NMRWish Built-In TCL Functions
gdbSortTab: Sort the data in a GDB database table according to a given column (variable).
Usage:
gdbSortTab tabHandle varName [options]
Options:
| Flag |
Argument |
Default |
Description |
-proc |
|
|
tclSortProc TCL sort evaluation procedure. |
-up |
|
|
Sort by Increasing Value. |
-down |
|
|
Sort by Decreasing Value. |
-abs |
|
|
Sort by Absolute Value. |
Notes:
Optional TCL Procedure will be called with two values to compare. It should return only 1 0 or -1, depending on whether the first value is greater than, equal to, or less than the second value.
|
|