I try to sort my responseObject alphabetically get by AFNetworking. My request return this:
({
id = 1;
name = "& Other Stories";
},
{
id = 2;
name = 0044;
},
{
id = 3;
name = "1 et 1 Font 3";
})
I need to sort this alphabetically for use indexSectionTitles in my tableView. I want to sort my dictionary like this:
brands = @{@"A" : @[@"Afdlskh", @"Adslkqhd", @"Afdslcxw"],
@"B" : @[@"Bfdlskh", @"Bdlsk"],
@"C" : @[@"Dvlfkd", @"Dlfkh"],…