Hi Togas,
Since you're doing the binding to the DataGrid in the XAML, you will need to use a CollectionViewSource. There you can set the sort order there and then bind it to your DataGrid.
Instead of binding the Orders of currentEmployee directly into the DataGrid
<sdk:DataGrid Name="EmployeeOrdersGrid"
ItemsSource="{Binding ElementName=EmployeeDataForm,
Path=CurrentItem.Orders}" />
you'd bind the Orders to the CollectionViewSource, sort it, and bind the CollectionViewSource to the DataGrid
<Grid.Resources>
<CollectionViewSource x:Key="OrdersViewSource" Source="{Binding ElementName=EmployeeDataForm,
Path=CurrentItem.Orders}">
<CollectionViewSource.SortDescriptions>
<scm:SortDescription PropertyName="Freight"/>
</CollectionViewSource.SortDescriptions>
</CollectionViewSource>
</Grid.Resources>
...
<sdk:DataGrid Name="EmployeeOrdersGrid"
ItemsSource="{Binding Source={StaticResource OrdersViewSource}}"
/>
Regards,
Silvio.