file a new bug against me ([EMAIL PROTECTED]) and I'll add Sort() to nsCOMArray

nsISupports array is deprecated and will never get a Sort() method.

Alec

Ari wrote:
I have list of XPCOM objects that I want to sort using a custom comparison function. They are currently stored in an nsISupportsArray, but I was thinking about moving them to an nsCOMArray. The problem is that unlike nsVoidArray, neither of these classes has a Sort method. What is the best way to sort this list of objects? Thanks.

Ari



Reply via email to