IEnumerable & sorting datagrid

Aug 19, 2009 at 4:35 PM

When I have IEnumerable datasource for grid, user can't sort data.

If I change it to ToList() user can sort data.

Any solution to sort data with IEnumerable datasource.

Thanks for help in advance!