views:

27

answers:

1

I'm working on a store front for my in app purchases. I have the items being loaded into an NSMutableArray within -(void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response however all my products start with numbers. I'd like to sort these in ascending order but whenever I use sortUsingSelector:@selector(compare:) I get an error for unrecognized selector.

What is the proper way to sort incoming products? Any help would be greatly appreciated.

Thanks

A: 

Instead of sorting on product use product localizedTitle as sorting function, because u display localized title to user not product.

jeeva