Hello,

 

            Is there a way to sort and array of objects.  So for example I have and array of a class

 

class test

{

            public var A:String;

            public var B:String;

            public var C:String;

}

 

And I want to sort the array by the value in the variable B.

 

arrayInstance.sort(“test.B”,Array.Descending);

or

arrayInstance.sort(“B”,Array.Descending);

 

Neither seem to work for me, is this not possible?

 

Thanks

 

 

Jeff



Yahoo! Groups Links

Reply via email to