Guides

Sort lines in a text file

Follow these steps using a local file and keep the original.

Sort lines in a text file
Actual local tool workspace with a synthetic sample.
  1. Choose the local UTF-8 file in Sort Text Lines.
  2. Run to apply lexical ordering to line strings; numbers are not sorted numerically.
  3. Download and inspect the result. A trailing empty line may be included in sorting.
Open related toolDownload sample