假设我想按“firstName”键对数组进行排序。
例子
Array = (
{
People1 = {
firstName = @"Jack Adam";
email = @"adam@gmail.com";
};
Address = {
cityCode = @"TH";
};
},
People2 = {
firstName = @"Jack DAm";
email = @"dam@gmail.com";
};
Address = {
city = @"TH";
};
);