重载函数:函数
-(NSArray *) sectionIndexTitlesForTableView: (UITableView *) tableViewspa
{排序
//dict allKeys取出的key arr无顺序,需进行排序it
NSArray *arr = [[self.words allKeys] sortedArrayUsingSelector:@selector(compare:)];io
return arr;table
}class