I had Three objects in an array. I want every time the object should be sorted by the key value.
Every time i want large 1st,medium 2nd,and person 3rd.
[
{
available: true,
description: "Description2",
label: "Medium"
},
{
available: true,
description: "Description2",
label: "Large"
},
{
available: true,
description: "Description2",
label: "Person"
}
]