Sort
Use the Sort node to organize lists of items in a desired ordering, or generate a random selection.
Node parameters
-
Type
: use the dropdown to select how you want to input the sorting. The following options are available:
- Simple : when selected, you can use the Add Field To Sort By button to input the fields, and select whether to use Ascending or Descending order.
- Random : select to create a random order in the list.
- Code : when selected, displays a code input field where you can enter custom JavaScript code to perform the sort operation.
-
Options
>
Add Field
: use this to add more optional settings, including:
-
Disable Dot Notation
: when disabled, you can't reference child fields (in the format
parent.child
).
-
Disable Dot Notation
: when disabled, you can't reference child fields (in the format
Related resources
Learn more about data structure and data flow in Mosaic Workflows workflows.