|
http://livedocs.macromedia.com/flex/15/flex_docs_en/00001201.htm Array.sortOn is what you’re looking for I think. Array.sort will
take a compareFunc if you want to do something more complex. Matt From: Jeff Krueger
[mailto:[EMAIL PROTECTED] 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
|
- RE: [flexcoders] Sort Array of object Matt Chotin
- RE: [flexcoders] Sort Array of object Jeff Krueger
- RE: [flexcoders] Sort Array of object Gordon Smith

