On Mon, 29 Oct 2018, David Fleck wrote: > I think you're missing the '-t' option. Try > sort -n -r -t '|' -k 3 number-samples-per-site.txt -o sorted Thanks, David. I looked at the -t option, saw the spaces between columns and ignored the pipe as the separator. Best regards, Rich