Sorts a file or input for displaying.
sort [d:][path]file [options]
command | sort [options]
The file for input is not modified.
Sort in reverse order.
Begin sorting at column n in each line of text. Default=1.
Sort by ASCII value, disables sorting by National Language.
Enables National Language Support (enabled by default in sort version 1.3+),
so that messages will be displayed according to the setting of the LANG environment variable.
Use the set command to set LANG.
1. Displays the current directory in alphabetical order:
2. Sorts a file and writes it to another file:
sort unordered.txt > ordered.txt
Copyright © 1998 Jim Hall
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying.txt for copying conditions.