[Tutor] Help

Alan Gauld alan.gauld at btinternet.com
Sun May 16 02:04:11 CEST 2010


"she haohao" <einstein_87 at hotmail.com> wrote 

> Question is how can i sort the file so that it looks like this:
>
> Chr1    7       9          4.5         5.5
> chr1     10     6          2.5         4.4
> chr10   6       9          3.5         4.5

I have no idea! How would you do it manually?
In what way is this considered sorted? 
What is the sorting criteria? 
It is not obvious to me!

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/





More information about the Tutor mailing list