This is done via the underlying DataSource. If, for example, your
DataGridView is using a BindingSource linked to a DataView of a DataTable,
you can set the Sort property of the BindingSource. This property is a
string, which can contain a single column name, or a comma-delimited list of
column names. See:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.bindingsource.sort.aspx

Signature
HTH,
Kevin Spencer
Microsoft MVP
Logostician
http://unclechutney.blogspot.com
There is a madness to my method.
> Anyone know of a way to perform Multi-column sorting with the
> DataGridView?
roybrew@att.net - 08 Dec 2006 00:41 GMT
Ok. But if you don't have an underlying DataSource, you are hosed,
right? I think I found another way.
http://www.windowsforms.com/FAQs/default.aspx?PageID=2&ItemID=688&CategoryID=3&t
abindex=3
Thanks for the response.
> This is done via the underlying DataSource. If, for example, your
> DataGridView is using a BindingSource linked to a DataView of a DataTable,
[quoted text clipped - 16 lines]
> > Anyone know of a way to perform Multi-column sorting with the
> > DataGridView?