SORT is a UNIX command that can sort files.
SUBPAK is a FORTRAN90 library which includes a number of sorting algorithms.
SORT_THE_RAVEN demonstrates how the SORT command can be used to sort a text file.
You can go up one level to the Examples page.