I have 3 arrays
createdAt = [someNSDate1, someNSDate2, someNSDate3]
customerId = ["a1", "h5", "c2"]
age = [21, 8, 60]
How can I sort these arrays according to the elements in one of them?
For example: How can I make sure that customerId[0] = c2
and age[0] = 60
if I sort createdAt
according to NSDate, and someNSDate3 is the most recent date?