Array or object: Reverse
Reverses the order of items in an array or keys in an object.
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.
Output: