Add support for iOS 2.0+

NSMutableArray sortUsingFunction: was introduced in iOS 4 so I changed it to sortUsingComparator: to enable support for iOS 2.0+.

Note: You can use ?w=true to hide the whitespace changes.