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.listapp to your theme's peer dependencies in themanifest.jsonfile as in the following example:
"peerDependencies": {
"vtex.list": "3.x"
}
- Add the
list-items-orderbyblock to other theme block inside a list context, such as thestore.listorstore.guest. For example:
"store.list":{
"children": [
flex-layout.col
]
},
"flex-layout.col": {
"children": [
+ "list-items-orderby"
],
}