This has been a huge problem for me and from what I can tell, a lot of us. Unless you are using the GetPaged method, the EntityGridView ignores the sorting event. I started to throw out the NT grid, but then it dawned on me...
1. Setup your grid and datasource just as you usually would, except turn off sorting and paging on the datasource.
2. Add OnSorting="yourgrid_sorting" to your gridview
3. In the code behind, add your event handler:
protected void yourgrid_Sorting(object sender, GridViewSortEventArgs e)
{
DataSource1.Sort = e.SortExpression + " " + (e.SortDirection == SortDirection.Ascending ? "ASC" : "DESC");
}
Your grid now sorts just like it was using the GetPage method!