and the sort proprty of dataview.
By using SORT you can achive this like;
DataView dv = ds.Tables[0].DefaultView;
dv.Sort = "col2,col3 asc"; // for ascending
dv.Sort = "col2,col3 desc"; // for descending
GridView1.DataSource = dv;
GridView1.Databind();
See these links to know more abt sort of dataview;
http://www.developerfusion.co.uk/show/4686/
http://davidhayden.com/blog/dave/archive/2006/02/11/2798.aspx
http://www.dotnetjohn.com/articles.aspx?articleid=77
http://www.asp101.com/articles/jayram/multicolumnsort/default.asp
Best Luck!!!!!!!!!!!!
Sujit.