The SortField objects take the name of the
field in the object to be sorted as a String – so your dot _expression_
will not work. What you can do is write a custom
compareFunction for your Sort object. A compareFunction takes two objects and
returns -1, 0, or 1 depending on which order the two objects should be sorted.
The ASDoc for Sort.compareFunction has the function signature and a good
example so check that out for more info. Your custom compareFunction can access
top-level and sub-properties on each object and then sort accordingly. -deepa From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar Hey everyone, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |