MACollectionUtilities
MACollectionUtilities copied to clipboard
Add SORTED macro
A SORTED macro would reduce the verbosity of doing custom collection sorts:
a = SORTED(b, [a compare: b options: NSCaseInsensitiveSearch | NSNumericSearch]);
As a bonus, it could be made to work on sets/dictionaries, returning a sorted array of their contents.