--- url: https://developer.youcan.shop/themes/filters/arrays/shuffle.md --- # Shuffle Returns the items of an array in a random order. ## Example ::: details Data ```json { "sizes": [ "S", "M", "L" ] } ``` ::: ```liquid {{ sizes | shuffle | join: ', ' }} ``` ::: tip Output ```html L, S, M ``` :::