replace embedded collection with sorted collection