calculate the ratio to 2 decimal places, not 3, so the fudge on ratio == 1 is more likely to work
sort the file with -g to handle scientific notation, and scale with minimum discordance as 0 so the top hit is not always 1