Either reverses or preserves the order of the input list according to whether the parameter is the special value reverse.
reverse
Examples