Possible Duplicate:
NSArray of Dates sort
How to sort array having numbers as string in iPhone?
I have various NSDates which I am converting to NSString and storing it in an array. I am trying to create sections according to the dates and I am sorting it at the same time. I'm wondering if it is possible to sort an NSArray of NSStrings based on a number value, The array looks like :
Array: (
10AM,
12PM,
1PM,
3PM,
9AM
)