IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

To Sort values in a list in ascending order

  • 1.  To Sort values in a list in ascending order

    Posted Thu August 31, 2006 10:36 AM

    Hi. Does anyone know if there is a IS service to sort values in a list?

    ie.
    nameList:
    - Amy
    - Jack
    - Brian

    I would like to sort the list in ascending order to be like the following:
    sortedNameList:
    - Amy
    - Brian
    - Jack

    Thanks!


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: To Sort values in a list in ascending order

    Posted Thu August 31, 2006 03:07 PM

    You can do this using the Java API. The method is called sortIDataArrayByKey. See this
    discussion on Advantage. HTH,

    Tim


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB