I have following code to re-order a ObservableCollection<T>
collection:
list = new ObservableCollection<SomeType>( list.OrderBy( c=>c.Ordinal ) );
This code works, but I don't like the fact that "new" is involved. Is there a way I can change the internal element order of a ObservableCollection<T>
collection without creating a new one?
Thanks,