Enumeration Case

NSForcedOrderingSearch

Comparisons are forced to return either NSOrderedAscending or NSOrderedDescending if the strings are equivalent but not strictly equal.

Declaration

NSForcedOrderingSearch = 512

Discussion

This option ensures reliable, reproducible results when sorting. For example, “aaa” is greater than "AAA” if NSCaseInsensitiveSearch is specified.