Sorting NSMutableArray and NSArray

I found a quick way to sort alphabetically an NSMutableArray or NSArray in an app I am building and wanted to see if Apple already created any methods to handle this and they sure did. Below is an example of both.

If you’d like to dig deeper into it you can read the Collections Documentation.