Skip to content

List: sort items

Plugin ID: eca_list_sort

Available since: 3.1.3

Sorts a list.

Fields

Sort method — config key: sort_method

Type: select · Required: no · Default: asort

Allowed values: asort, arsort, ksort, krsort, natsort, natcasesort

Name of token — config key: token_name

The sorted list will be loaded into this specified token. If this is not provided, the list will be sorted in-place.

Type: textfield · Required: no · Default: empty string

Token containing the list — config key: list_token

Provide the name of the token that contains a list of items. If the list does not exist yet, a new one will be created. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string