shuffle

The shuffle filter takes one array argument and returns a new shuffled array.

{% set data = [1,2,3]|shuffle %}