Column sorting in my recent Silverlight 2.0 Datagrid app wasn't a priority, but I wanted to be able to click on a column header and sort, darn it. I added a CanUserSortColumns="true" property to the DataGrid and CanUserSort="true" to each DataGridTemplateColumn. Still nothing.
It wasn't until I added a SortMemberPath property to the DataGridTemplateColumn some days later that I could enjoy that sexy Silverlight 2.0 Datagrid column sorting.
<data:DataGridTemplateColumn Header="Employee" Width="200" CanUserSort="True"
SortMemberPath="EmployeeName">
<data:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding EmployeeName}" />
</DataTemplate>
.....