Sort CollectionView/CompositeView according to comparator
Merge pull request #1161 from ahumphreys87/sortedCollection

Sorted collection