I have an `NSArray` which includes a list of keys and this array comes out of a .plist.

At this moment i write this array in a `UITableView`, but this is not sorted and sectionized.
I want to sort this Array and want to have Sections in this `UITableView` which begins with the first character of each character in this Array.

As example:
Sectionname: "A"
Celltext: "Ahorn"

I hope you get it.
My Code now:

```
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{

NSArray * sections = [temp allValues];

NSUInteger *tablesections = [sections count];

return tablesections;

}

```

And:

```
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:   (NSIndexPath *)indexPath 

    NSArray * values = [temp allValues];

[EingabeListe addObjectsFromArray:values];

char szDecryptetKey[256];
sleep(0.5);

NSString *cellValue = [values objectAtIndex:indexPath.row];
const char *cString = [cellValue cStringUsingEncoding:NSASCIIStringEncoding];

DecryptKey(cString, szDecryptetKey);

NSString *pnssDecryptetKey = [NSString stringWithFormat:@"%s",szDecryptetKey];

cell.textLabel.font = [UIFont systemFontOfSize:11.0];
cell.textLabel.text = pnssDecryptetKey;

return cell;

```

Thanks