Я хочу расположить значения ячеек в алфавитном порядке, но я не могу расположить значения в коде, над которым я работаю
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
cell.textLabel.text = [[[map annotations] objectAtIndex:indexPath.row] title];
return cell;
}
как я могу расположить значения cell.textLabel.text по алфавитулюбая помощь будет оценена
Заранее благодарю