Quote:
|
Originally Posted by vgersh99
the solution assumes SINGLE column of input - not 'embedded' numbers in a text file.
To do what I THINK you want might be a bit more difficult, but not by too much
Pls provide a sample file.
|
Sorry, I should have been more specific. Ok so lets say I have a file that contains columns with numbers in Scientific Notation:
Col1 Col2 Col3 Col4
1.0000E+00 2.3333E-02 1.4500E-05 2.1233E-02
9.9999E-01 3.6286E+03 1.0023E+03 1.6643E-02
1.0000E+01 9.8754E+00 1.0234E-02 2.2845E-02
1.0030E+01 3.7896E-01 1.9934E+08 2.3443E-02
9.9998E-01 2.6541E-02 1.5386E+05 3.3333E-02
1.3434E+03 1.9999E+04 1.1275E+07 2.3333E-02
6.0000E+00 1.8441E-01 9.9999E-06 2.3333E-02
9.9999E-02 1.8441E+01 1.1111E-01 4.3333E-02
all the labels (ex. Col1, Col2...etc) should be above their corresponding column...
Note: Im not sure if it makes a difference but all columns are
not seperated by just 1 space there are some with multiple spaces.
so how would I be able to sort this whole file by Col3?
Thanks so much for the help