Say I have a data table with 3 fields:
uid {1,2,3}
username {john,bob,martha}
address {"1234 asdf way","5432 12th st", "9875 asdf drvie" }
If I wanted the ability to sort on any of these fields, what would be a suggested method of storing this data?
You could store it in an
NSArrayofNSDictionary, then use the methodsortedArrayUsingComparator:to sort on any attribute.