Skip to main content
Reverses the order of a list, so the last item comes first and the first item comes last. Use this to flip the direction of a sequence, for example showing the newest entries before the oldest, or putting a sorted list into descending order. For a plain list the items are renumbered from the start. For an object the named keys keep their values and only their order changes.

Fields

This mapper has no settings. Point it at the list or object you want to reverse and it transforms whatever value it receives.

Sample data

Input:
{ "steps": ["pick", "pack", "ship"] }
Output:
{ "steps": ["ship", "pack", "pick"] }