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