Help files

Sort List Action

Description:

This action sorts the items of a List contained in a variable. The items on the list must be of the same type.

sortlist.png
Properties:

List to Sort:

Enter the name of a variable that contains a list you wish to sort.

Sort by list items' properties:

If your list items are objects (such are files, folders, etc) you can choose here to sort the item by a specific property. If you leave this unchecked the items of the list will be sorted by their default property (e.g. file objects will be sorted by their full path).

So, for example, if you have a list of files, using this option you can sort them, say, by extension and then by size. If you don't use the option, the files will be sorted by their full path.

First Property to Sort by:

Enter the name of a property of the items contained in the list that you want to sort by. You can find the properties for some of the data types supported by WinAutomation here.

Second Property to Sort by:

Optional: Enter the name of a second property to sort by.

Third Property to Sort by:

Optional: Enter the name of a second property to sort by.