diff --git a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml
index c7abc8a1..6c6d7552 100644
--- a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml
+++ b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml
@@ -15,7 +15,7 @@
-
+
@@ -144,7 +144,7 @@
-
+
diff --git a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs
index e7073b17..2268f3d9 100644
--- a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs
+++ b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs
@@ -1,4 +1,5 @@
-using System.Windows.Controls;
+using System.ComponentModel;
+using System.Windows.Controls;
// ReSharper disable once CheckNamespace
namespace HandyControlDemo.UserControl
@@ -11,6 +12,8 @@ namespace HandyControlDemo.UserControl
public LeftMainContent()
{
InitializeComponent();
+ listStyle.Items.SortDescriptions.Add(new SortDescription("Content", ListSortDirection.Ascending));
+ listControl.Items.SortDescriptions.Add(new SortDescription("Content", ListSortDirection.Ascending));
}
private void TabControl_OnSelectionChanged(object sender, SelectionChangedEventArgs e)