Sorting an array of objects in ActionScript 3
Posted
by vitto
on Stack Overflow
See other posts from Stack Overflow
or by vitto
Published on 2010-05-23T16:08:06Z
Indexed on
2010/05/23
16:10 UTC
Read the original article
Hit count: 268
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?
© Stack Overflow or respective owner