

If not specified, the data is written to the standard output. Specifies the file where the sorted input is to be stored. By default, the system temporary directory is used. Specifies the path of the directory to hold the sort command's working storage if the data does not fit in the main memory. Specifying the input file is faster than redirecting the same file as standard input. If no file name is specified, the standard input is sorted. Specifies the maximum number of characters in a record or a line of the input file (the default value is 4,096 and the maximum is 65,535).

Overrides the sort order of characters that are defined by the system default locale (that is, the language and Country/Region selected during installation). Specifies the amount of main memory to use for the sort in kilobytes (KB).

Specifies the character position number where sort will begin each comparison. Reverses the sort order (that is, sorts from Z to A and from 9 to 0). Reads input, sorts data, and writes the results to the screen, to a file, or to another device.
