If you want to sort data in ascending order, use:
this.List.ItemsSource = this.Items.OrderBy(c => c.Priority);
For descending order, use:
this.List.ItemsSource = this.Items.OrderByDescending(c => c.Priority);
That's all ;)
Note: The order of items in a list will not change. You need to implement it.
Please, read this:
how to sort descending order of ObservableCollection?[
^]
How to sort an ObservableCollection [
^]