Markus Cristinziani <address@hidden> wrote:
> I am using sort (coreutils) 4.5.3 October 2002 SORT(1)
>
> The output of my |sort -n| command is
>
> -3.32561
> -2.98581
> -2.93602e-05
> -2.9352e-05
> -2.91037
> -2.74732
>
> the numbers with exponent appear not to be properly sorted.
With `-n', you're sorting only the integer values before the `.'s.
To sort floating point numbers, use the -g (--general-numeric-sort) option.