Is there any differences in the sorting order when using this (for in-memory sorting)
[[UILocalizedIndexedCollation currentCollation] sortedArrayFromArray:namesArray collationStringSelector:@selector(sortName)]
and this (for CoreData sorting)
fetchRequest.sortDescriptors =
[NSArray arrayWithObject:[NSSortDescriptor
sortDescriptorWithKey:@"name" ascending:YES
selector:@selector(localizedStandardCompare:)]];
I want to store a huge data set with CoreData, and then show it in a TableView. In this case, if any record changes, I'll need to resort the whole array using the first method, and this will take a while, so the second method is much more preferable.
I know that for the English language the sorting order should be the same, but I don't really know about languages which use letters with umlauts and which use non-latin letters.
Your help will be greatly appreciated.