You can order your UITableView cells in any way, but you need to do this before showing them when you create a table data source. If you are using NSFetchResultsController, you can put the distance as a sort descriptor. And if you use a simple NS (Mutable) Array, sort it before making it the source of the table.
,
NSSortDescriptor *titleSorter= [[NSSortDescriptor alloc] initWithKey:@"annotationLocation" ascending:YES];
NSArray, :
[arrayOfObjects sortUsingDescriptors:[NSArray arrayWithObject:titleSorter]
NSFetchResultsController:
NSArray *sortDescriptors = [[NSArray alloc] initWithObjects:titleSorter, nil];
[fetchRequest setSortDescriptors:sortDescriptors];