Explain me the use case of this option.
Hi @Harshit, “The Sort property allows you to display list items in ascending or descending order based on the provided key.”
Example to illustrate this: Suppose you have the following JSON and want to sort the items according to the position key. You would pass the position key in the Sort Key property.
[
{
“image”: “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSoMKrZjtmaatV_8YjmCN_b2X_NhKZv1TVjlA&usqp=CAU”,
“position”:“4”
},
{
“image”: “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2FnsHcN5hcHdnglw-1IJaksIg6M2dNQcyoQ&usqp=CAU”,
“position”:“2”
},
{
“image”: “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQUBUZVPG0mSU7-z-V3VYH5AvZPCYe0kAS8zw&usqp=CAU”,
“position”:“3”
},
{
“image”: “https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTpdXkcySguAZ8IwVZvFW8WMTvX1GAG69V8ow&usqp=CAU”,
“position”:“1”
}
]
Thank you @Neeraj_Kumar for the explanation.