How to sort a concurrent collection in .NET 4.0

Viewed 14304

How to sort a concurrent collection in .NET 4.0 For example I have constructed my ConcurrentBag collection. How can I sort the elements in it?

ConcurrentBag<string> stringCollection;

ConcurrentBag<CustomType> customCollection;
4 Answers
Related