Adding easy to use sorting features to Objective-C arrays
Apart from how powerful and flexible NSArray in Objective-C is, there are times that you need to sort many arrays throughout the projects. The standard way of sorting arrays in Objective-C is to use one of: sortedArrayHint sortedArrayUsingFunction:context: sortedArrayUsingFunction:context:hint: sortedArrayUsingDescriptors: sortedArrayUsingSelector: (See the official documentation) But what if all you need is just a simple…