Use the following code for xaml,
<TreeView Name="TestTreeView">
<TreeView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Path=Key}"/>
</DataTemplate>
</TreeView.ItemTemplate>
</TreeView>
Use below code in code behind to assign sorted dictionary to treeview
SortedDictionary<DateTime, bool> TestDictionary = new SortedDictionary<DateTime, bool>();
TestDictionary.Add(DateTime.Today, true);
TestDictionary.Add(DateTime.Now, false);
TestTreeView.ItemsSource = TestDictionary;