4 Replies Latest reply on May 27, 2009 8:06 PM by jfb00

    sort question

    jfb00 Level 3

      Hi All,

      I see this example in how to sort.

      http://blog.flexexamples.com/2007/08/05/sorting-an-arraycollection-using-the-sortfield-and -sort-classes/

      But what about if I have a main category to be sort then a sub category Like:

      Model     Year  (First Sort base on YEAR then car model)

      ---------------------

      Toyota    1998

      BMW     1996

      BMW     1998

      Acura     1996

       

       

      Data Sorted

      Model     Year

      ---------------------

      Acura     1996

      BMW     1996

      BMW     1998

      Toyota    1998

       

      Any ideas?  or links?

      Thanks for your help!

       

      JFB