sortedArrayUsingComparator returns a NSArray*, you want a NSMutableArray*. In ObjC the mutable types inherit from the immutable types, so you can't just use the NSArray*. You need something to take your NSArray* and give you the equivolent NSMutableArray*. In this case the NSMutableArray arrayWithArray method will do it.
Try something like:
NSMutableArray *immutableSortedReleases = [theReleases sortedArrayUsingComparator:^(id a, id b)...]
NSMutableArray *sortedReleases = [NSMutableArray arrayWithArray:immutableSortedReleases];
Or if sufficiently clear, skip having immutableSortedReleases, and put the arrayWithArray call inline.