Topic
  • 2 replies
  • Latest Post - ‏2012-11-30T00:11:57Z by Jagtattoo
SystemAdmin
SystemAdmin
3180 Posts

Pinned topic How to sort a string array string[]

‏2012-11-29T06:14:03Z |
Hello,

I need to sort a string[] array ... can any one give me a example how to do it??
Updated on 2012-11-30T00:11:57Z at 2012-11-30T00:11:57Z by Jagtattoo
  • SystemAdmin
    SystemAdmin
    3180 Posts

    Re: How to sort a string array string[]

    ‏2012-11-29T06:31:57Z  
    Just go to the developer works forum, enter "sort string" into the search field and read the first entry that appears.
  • Jagtattoo
    Jagtattoo
    24 Posts

    Re: How to sort a string array string[]

    ‏2012-11-30T00:11:57Z  
    Once the string array is defined and populated, you can simply enter the command "sort <array name>". This will sort the entries in the array alphabetically. Good luck!!