bug in sort 2.0.14

Lukas Michelbacher <[email protected]> Sat, 3 Feb 2007 14:32:10 +0100 (CET)
Newsgroups gmane.comp.gnu.core-utils.bugs,gmane.comp.gnu.textutils.bugs
Message-ID <Pine.LNX.4.64.0702031418350.22866@pinguin>
Hello,

is this a bug?

input:

action  non-intervention        95.285097237109 0.000164853280580284
action  punch   95.8254856329854        0.000439608748214089
action  reasons 95.2056821327679        0.00175843499285636

output after sort command 'sort -r -g -k 3,3 <input>':

action  reasons 95.2056821327679        0.00175843499285636
action  punch   95.8254856329854        0.000439608748214089
action  non-intervention        95.285097237109 0.000164853280580284

The number in the middle is greater than the one in the first line of the 
output. That's wrong because the file should be sorted by the column 
that contains the numbers.
I'd like to add that if the second column is modified,

new input:

action  punch        95.285097237109 0.000164853280580284
action  punch   95.8254856329854        0.000439608748214089
action  punch 95.2056821327679        0.00175843499285636

the output has the desired form:

action  punch   95.8254856329854        0.000439608748214089
action  punch        95.285097237109 0.000164853280580284
action  punch 95.2056821327679        0.00175843499285636

Regards

Lukas Michelbacher