How to sort an string array?

Hi, Our program uses generates a list of programs that we’ve got and we pick which ones we’ll be running on different welding stations.
The list appeared to be in the order of the programs were loaded, not in alphabetical order.
Is there a commend to sort the array in alphabetical order?

Cheers
Kent

In RAPID there is no default command to do this. If you want to show the list with programs on a flexpendant, you could use the flexpendant SDK.