I am receiving JSON in the following format that I parse and store in a NSArray:
{"4eb57e72c7e24c014f000000":{"_id":{"$id":"4eb57e72c7e24c014f000000"},"author":"tim","comments":[],"created":{"sec":1320517234,"usec":856000},"picture":"http://someurl.com","text":"this is a test","title":"test","type":["test"]}
How do I get it to sort by "created"? "created" has the sec which appears to be the date and usec that appears to be the time.
Any guidance will be appreciated.