Confused about CollectionViewSource (SelectedItem not working in combos)
I have a bunch of combos that all share the same available choices. These choices are provided in a collection exposed from my ViewModel. All fine and dandy. I now want these choices sorted, so I decided to expose an ICollectionView from my ViewModel instead of my usual ReadonlyObservableCollection<T> , and sort the collection view in my ViewModel. class EditStuffViewModel : ViewModelBase { public EditStuffViewModel (ObservableCollection<Choice> choices) { Choices = new CollectionViewSource() { Source = choices }.View; Choices.SortDescriptions.Add(new SortDescription("Name", ListSortDirection