I need to sort the strings in a ListBox, but it is bound to the view model by another component via the DataContext. So I can\'t directly instantia
ListBox
DataContext
Use a CollectionViewSource:
You might want to wrap your strings in a custom VM class so you can more easily apply sorting behavior.