Sort CollectionView according to comparator