我有以下json:
{"attendance_data":
{"date":"26-Sep-2013","users":
[{"uid":"2","status":"present","name":"xyz"},
{"uid":"3","status":"present","name":"mno"},
{"uid":"4","status":"present","name":"cde "}
,{"uid":"5","status":"present","name":"wxy"}]}}
我想按字母顺序对其进行排序:
{"attendance_data":{"date":"26-Sep-2013","users":
[{"uid":"2","status":"present","name":"cde"},
{"uid":"3","status":"present","name":"mno"},
{"uid":"4","status":"present","name":"wxy "},
{"uid":"5","status":"present","name":"xyz"}]}}
没有外部库可以吗?