Hey,
This really should be incredibly easy to do but all I can find is huge explanations of how to use CollectionViews, Observable whatnots, SortDescriptions etc.
In code, I want to be able to add ["Cat", "Dog", "Ant", "Bat"] to a ListBox, then be able to sort them... I've looked at SortDescriptions but have no idea what the first argument needs to be. Exceptions are thrown when i try things like "Content", "Name", "Text"... what properties to simple strings have
I really do want to avoid XAML for this bit as it isn't ideal, code, a couple of lines...
Thanks,
Adam Miles