我有如下的 NSDictionary 数组
array(
{
Birthdate = "03/20";
Names = "Abhinavswati Chaudhary";
remain = 0;
},
{
Birthdate = "09/22/1986";
Names = "Aisa Soni";
remain = 186;
},
{
Birthdate = "03/02/1990";
Names = "Anuj Parekh";
remain = 347;
},
{
Birthdate = "05/22/1988";
Names = "Ajay Desai";
remain = 63;
}
)
我怎样才能按照升序对该数组进行排序以保持例如它应该像
array(
{
birthdate=...
name =abhivan
remanin =0;
},
{
brithdate = "05/22/1988";
name =ajay
remain =63
},
{
and so on....
请建议一些代码提前谢谢你
当我们使用 NSsortDiscripor 时,仍然需要是 NSNumber,这可能是我的剩余数字实际上是字符串的原因吗?