I am trying to figure out how to sort the objects inside a list of objects. It looks like this:
{
ITEMS: {
dress: {color: "red", size: "S"}
boots: {color: "black", size: "36"}
bag: {color: "cream", size: "one"}
}
ITEMS_2: {
dress: {color: "red", size: "S"}
boots: {color: "black", size: "36"}
bag: {color: "cream", size: "one"}
}
}
How would I sort alphabetically dress, boots, bag ?
Thanks in advance.