NSString *topUrl = @"http://www.maidian.tv/?c=app&a=television_category";
[NetworkCore getInfoLine:topUrl withSuccessBlock:^(id responesObj) {
NSArray *listArray = [responesObj objectForKey:@"list"];
NSArray *sortDesc = [NSArray arrayWithObject:[NSSortDescriptor sortDescriptorWithKey:@"sort" ascending:YES]];
sortedArr = [listArray sortedArrayUsingDescriptors:sortDesc];
NSLog(@"排序后的数组:%@",sortedArr);
for (NSDictionary *dic in sortedArr) {
[topDataArray addObject:dic[@"title"]];
}
[self initTopView];
}];