sorting features (was: [Biococoa-dev] Comments on BCAnnotation)

Koen van der Drift kvddrift at
Thu Feb 24 22:13:55 EST 2005

On Feb 24, 2005, at 10:04 PM, Charles PARNOT wrote:

> I went through the documentation and could not find a 'reverseSort' 
> method for arrays, which I find weird. I was sure something like this 
> existed.

Maybe you meant sortedArrayUsingSelector ?

> I am not sure if bindings stick with that. Anyway, then maybe you 
> could keep the reverse sorting and name it 'reverseCompareName:' and 
> 'reverseCompareContents:', inspired by NSString's 
> 'caseInsensitiveCompare:' method.

I would suggest compareByName and reverseCompareByName, etc

- Koen.

More information about the Biococoa-dev mailing list