Arrange text file lines in specified order with support for numeric, month-name, and reverse sorting. Handles large files efficiently.
bash
sort-tool [options] [file...]
-n: Numeric sort-r: Reverse order-u: Unique lines (remove duplicates)-k N: Sort by column N-t SEP: Use SEP as field separatorbash
# Alphabetical sort
sort-tool names.txt
# Numeric sort
sort-tool -n numbers.txt
# Sort by column 2
sort-tool -k 2 -t ',' data.csv