我有一个由字典数组组成的可变数组:
(
{
A = Mango;
B = "John";
C = SLOVAKIA;
D = 01/27/13;
E = 2000;
},
{
A = Banana;
B = "Johny";
C = THAILAND;
D = 02/27/13;
E = 4000;
},
{
A = Orange;
B = "Lezin";
C = US;
D = 03/27/13;
E = 6000;
}
)
现在我想根据键对数组进行排序,使键的顺序变为既不是升序也不是降序的 BECAD,它是一个随机顺序。预期输出如下:
(
{
B = "John";
E = 2000;
C = SLOVAKIA;
A = Mango;
D = 01/27/13;
},
{
B = "Johny";
E = 4000;
C = THAILAND;
A = Banana;
D = 02/27/13;
},
{
B = "Lezin";
E = 6000;
C = US;
A = Orange;
D = 03/27/13;
}
)
我怎样才能做到这一点?