Sorting an array of objects in ActionScript 3
- by vitto
Hi, I'm trying to sort an array of objects with ActionScript 3.
The array is like this:
var arr:Array = new Array ();
arr.push ({name:"John", date:"20080324", message:"Hi"});
arr.push ({name:"Susan", date:"20090528", message:"hello"});
can I do something with Array.sort(...) method?