objective c - Is possible 'NSSortDescriptor' sort 'NSObject' with specific language first? -


        nssortdescriptor *descriptor = [[nssortdescriptor alloc]                                  initwithkey:@"surname"                                  ascending:yes                                  selector:@selector(localizedstandardcompare:)]; 

i used sort array want show hebrew word first , english possible.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -