views:

22

answers:

1

I have a list of bookmarks stored in NSUserDefaults. For each bookmark entry I retreive data from a sqlite database. I then create an array of these bookmarks. Each bookmark in the array is represented as a person object.

How ca I re-order the array to sort by the persons first name?

+1  A: 

To sort an NSArray you would use sortedArrayUsingDescriptors:, sortedArrayUsingSelector:, or one of the other sorting variants.

smorgan