How to sort a list for an array of strings

loop
collections
code

#1

I read a list of filenames to a String[] using Directory.GetFiles(path).

How do I sort the list in ascending order?


#2

Use InvokeMethod activity:
Type: System.Array
Object: (leave empty)
MethodName: Sort

Arguments:
In / System.Array / YourArray

Some other examples.

Regards,
Andrzej


#3

Hello,

Can you please tell me how do I use Invoke Method for sorting a list?

Thanks