The sorting order is based on the standard character sequence for the host type, as described below.
Note: The tables below show the printable characters only. A different set (appropriate national collating sequence) exists if CCSVERSION is in effect.
Windows-based records
Windows-based records are retrieved using the character sorting sequence shown (left-to-right, top-to-bottom) in the following table. This order is the standard ASCII sorting order.
| space | ! | " | # | $ | % | 
| & | ' | ( | ) | * | + | 
| , | - | . | / | 0-9 | : | 
| ; | < | = | > | ? | @ | 
| A-Z | [ | \ | ] | ^ | _ | 
| ` | a-z | { | | | } | ~ | 
MCP-based records
MCP-based records are retrieved using the character sorting sequence shown (left-to-right, top-to-bottom) in the following table. This order is the standard EBCDIC sorting order.
| space | [ | . | < | ( | + | 
| ! | & | ] | $ | * | ) | 
| ; | ^ | - | / | | | , | 
| % | _ | > | ? | ` | : | 
| # | @ | ' | = | " | a-r | 
| ~ | s-z | { | A-I | } | J-R | 
| \ | S-Z | 0-9 | 
 | 
 | 
 |