5 Replies Latest reply on Aug 2, 2007 1:08 PM by Newsgroup_User

    Sorting an array

    mee_naveen
      Hi All,
      I am working on a specific application that needs an array to be sorted according to a specific proprty of an object which is an element in the array.

      for example

      I have an array like [{name:"jhon",sal:1200},{name:"bob",sal:1400},{name:"kelly",sal:1600}]. This array to be sorted according to the name or salary what ever I want(means with a dynamic decision).Is there any way to do that in flex? I have very urgency regarding this...anybody can help me in this issue.

      Thanks