Sort dictionary
Sorts the referenced dictionary and returns it as a list of tuples of key and value.
Configuration
Example:
This configuration will sort the dictionary
with the order provided by direction (default: "asc")
The dictionary is provided as a path to data in event. Example of such configuration.
{
"data": "[email protected]",
"direction": "asc",
"sort_by": "key"
}
Input
This plugin does not process input.
Output
Returns the ordered list of tuples with keys and values.
Example: