title: How to sort a bound ObjectDataProvider Collection?
body: <p>I populate a <code>ListBox</code> with the <code>Description</code> values of an <code>Enum</code>. The are displayed in the index order of the <code>Enum</code>, but I want them sorted by description. So I added a <code>SortDescription</code> to the <code>ListBox</code>, but it doesn't work.</p>
  
  <pre><code>ObjectDataProvider odp = new ObjectDataProvider()
  {
    IsInitialLoadEnabled = false,
    MethodName = "GetValues",
    ObjectType = typeof(Enum),
  };
  odp.MethodParameters.Add(this.EnumType);
  odp.Refresh();
  Binding b = new Binding() { Source = odp };
  listBox.SetBinding(ListBox.ItemsSourceProperty, b);
  listBox.Items.SortDescriptions.Add(new SortDescription());
  </code></pre>
  
  <p>I also tried to add a property name to the <code>SortDescription</code>, but I don't know which one (I tried 'Value' and 'Description').</p>
  
  <p>Wrapping the <code>ObjectDataProvider</code> in an <code>CollectionViewSource</code> and sorting that collection doesn't help either.</p>
  
  <p>Is there a solution to this?</p>