3 Replies Latest reply on Mar 2, 2010 9:34 AM by kminKeller-si5I0P

    sorting question

    kminKeller-si5I0P Level 1



      I have a question on sorting an arraycollection of an object.


      I have a arraycollection of an object TestA.


      TestA contains an object TestB. TestB has a field name "minimum" which is an int. Now I want to write a sort function to sort the arraycollection based on the field "minimum" on TestB.


      I can sort the arraycollection based on fields on TestA using Sort object. But am not been able to do the sort on fields on object TestB.

      Can anyone chip in some idea or suggestion or sample? Thanks in advance.