Re: Sorting a data file

1998-06-15 Thread Walid Keirouz
Ibrahim, On Sat, 13 Jun 1998, Ibrahim F Haddad wrote: > Given a file that contains data of the following format: > 7.606565 5.404950 > 4.969272 4.597600 > 4.969272 4.597600 > 2.40 3.486746 > 3.00 3.672252 > 3.60 3.73 > How to sort it in increasing order of the x column so > aft

Re: Sorting a data file

1998-06-14 Thread Glynn Clements
Ibrahim F Haddad wrote: > Given a file that contains data of the following format: > > 7.606565 5.404950 > 4.969272 4.597600 > 4.969272 4.597600 > 2.40 3.486746 > 3.00 3.672252 > 3.60 3.73 > > > How to sort it in increasing order of the x column so > after sorting it looks lik

Re: Sorting a data file

1998-06-14 Thread Karl F. Larsen
Not sure from your message your trying to do. But from my level of training I see a bunch of loops working on the entire data in some manner. If you want to make just a single line of assending size it will be simple. What you show is impossible, or I don't understand. On Sat, 13 Jun 1998, Ibra