I had a good search of SO but couldn't find anything relevant to this problem. I have a custom object class that implements a comparison method for sorting in arrays. This comparison uses the "name" property of the class using NSCaseInsensitiveSearch. The code looks like this:I had a good search of SO but couldn't find any