In earlier Versions of .net you could use something like
ICollectionView collectionView = CollectionViewSource.GetDefaultView(AllImages);
To bu
As you'd figured out the CollectionViewSource doesn't have support for filters or sorts in WinRT/XAML. Your solution is then to sort the contents of the associated ObservableCollection.
There is a custom ICollectionView
implementation available on CodeProject that adds the functionality of sorting/filtering. Here is a link to the article/code: http://www.codeproject.com/Articles/527686/A-WinRT-CollectionView-class-with-Filtering-and-So
This will bring back some of the functionality that is missing in the WinRT version of ICollectionView
. Hopefully this will help someone who comes across this question as I did, looking for the ability to filter a collection.