The list-items-orderby
block allows the user order by the items of an list. The options for order is alphabetically or addition date.

Configuration
- Import the
vtex.list
app to your theme's peer dependencies in themanifest.json
file as in the following example:
_10 "peerDependencies": {_10 "vtex.list": "3.x"_10 }
- Add the
list-items-orderby
block to other theme block inside a list context, such as thestore.list
orstore.guest
. For example:
_11 "store.list":{_11 "children": [_11 flex-layout.col_11 ]_11 },_11_11 "flex-layout.col": {_11 "children": [_11+ "list-items-orderby"_11 ],_11 }