How to sort this kind of case?
- I have a
NSMutableArray
. - My
NSMutableArray
can have an object orNSMutableDictionary
. - My
NSMutableDictionary
only has 1 object (an object as its object and a string as its key) - Both object is the same and has attribute
name
Now, what I'm struggle with is I want to sort the NSMutableArray
based on the dictionary key and the object's name
? (let's just ignore the object that is added to NSMutableArray
)
Bunch of thanks to person can give me idea how to solve this case!