I have DataGrid template column. As SortDescriptor i'm use DelegateSortDescriptor. Seted SortOrder="Descending". When i start app i want that this column was sorted descending. Now when app started column is not sorted. When i click on header then column sorted properly.
...
<telerikDataGrid:DataGridTemplateColumn HeaderText="Name" HeaderStyle="{StaticResource DataGridHeaderStyle}"
CanUserSort="True"
>
<telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
<telerikCommon:DelegateSortDescriptor KeyLookup="{StaticResource FileInfoExKeyLookup}" SortOrder="Descending" />
</telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
...
<telerikDataGrid:DataGridColumn.CellContentTemplate>
<DataTemplate>
<HorizontalStackLayout Margin="5,5">
<Label Text="{Binding Path=IconInfo.Code}" Style="{StaticResource FontAwesome}" FontSize="Medium" TextColor="{Binding Path=IconInfo.Color}"
HorizontalOptions="Center" VerticalOptions="Center"/>
<Label Text="{Binding ESFileInfo.fileName}" Style="{StaticResource PrimaryLabel}" Margin="5"
HorizontalOptions="Start" VerticalOptions="Center"
VerticalTextAlignment="Center"
/>
</HorizontalStackLayout>
</DataTemplate>
</telerikDataGrid:DataGridColumn.CellContentTemplate>
...
<telerikDataGrid:DataGridTemplateColumn HeaderText="Name" HeaderStyle="{StaticResource DataGridHeaderStyle}"
CanUserSort="True"
>
<telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
<telerikCommon:DelegateSortDescriptor KeyLookup="{StaticResource FileInfoExKeyLookup}" SortOrder="Descending" />
</telerikDataGrid:DataGridTemplateColumn.SortDescriptor>
...
<telerikDataGrid:DataGridColumn.CellContentTemplate>
<DataTemplate>
<HorizontalStackLayout Margin="5,5">
<Label Text="{Binding Path=IconInfo.Code}" Style="{StaticResource FontAwesome}" FontSize="Medium" TextColor="{Binding Path=IconInfo.Color}"
HorizontalOptions="Center" VerticalOptions="Center"/>
<Label Text="{Binding ESFileInfo.fileName}" Style="{StaticResource PrimaryLabel}" Margin="5"
HorizontalOptions="Start" VerticalOptions="Center"
VerticalTextAlignment="Center"
/>
</HorizontalStackLayout>
</DataTemplate>
</telerikDataGrid:DataGridColumn.CellContentTemplate>