DDBNEXT-968 Added assignment as the sorting is not always done in-place,
depending on the type of the Collection.