How to set a sort on a datatable

BronwenWeeGo.jpgSorting a datatable…just one of those things i always end up looking up…

Just set the default view sort string….e.g.

DataTable dt;
dt.DefaultView.sort = "CreateDate desc";