I am having an odd issue with sort. I have a file that has 362 tab-separated columns and ~23k rows. I want to sort by the value in the last column, going from highest to lowest values. My sort command looks like the following
sort -k 362,362rn file_unsorted.txt > file_sorted.txt
It seems to work and the entire file is sorted, with the exception of one value that is out of order. I have attempted to attach a histogram illustrating this. I haven't been able to discern anything different about this line or why it seems to be out of order. Any ideas about what might be happening and how to remedy it would be greatly appreciated.