I have an NSMutableArray that contains 2 types of Objects.
Both objects contain a field for dates (date Strings with different formats) with different names.
What’s the best and fastest way to sort them all based on the date? Is it possible to use an NSSortDescriptor in this situation?
If you are targeting Mac OS X v10.6 or iOS4 and higher you can sort using comparator similar to this
Besides checking for the class you could also check if it responds to selector.