Global Reverse Ordering
Global Reverse Ordering

Reverse the sense of full record comparisions.

Notes
This flag appears to be used only for the last ditch byte ordering across records.

Declare reverse order flag (reverse)
Variable declaration
Segment Source
 182: /* Flag to reverse the order of all comparisons. */
 183: static int reverse;
 184: 

Insert user message text
Text insertion
Segment Source
 232:   -r               reverse the result of comparisons\n\

Reverse key order
Code insertion
Segment Source
1203:   return reverse ? -diff : diff;

Establish global sort direction
Code insertion
Segment Source
2049:   reverse = gkey.reverse;