sort object - JS

Asked

Viewed 10 times

-2

I would like to sort this type of JSON by date in javascript, it is possible??

{
  "5d8b3e18-b134-4cce-b77c-804535da6140": {
    "titulo": "post Atualizado",
    "chamada": "API nova CHAMADA 3",
    "data": "11-30-2020",
    "post": "API nova - TEXTO LONGO"
  },
  "623a3f08-fec7-4792-8783-a4b4b4281a6f": {
    "titulo": "novo post2",
    "chamada": "API nova CHAMADA 1",
    "data": "12-01-2021",
    "post": "API nova - TEXTO LONGO"
  },
  "5efeca52-6858-46f0-b7d4-722d10903946": {
    "titulo": "novo post",
    "chamada": "API nova CHAMADA 4",
    "data": "10-04-2020",
    "post": "API nova - TEXTO LONGO"
  },
  "eea76d36-80bb-40a1-a189-17dbdeb8905c": {
    "titulo": "novo post",
    "chamada": "API nova CHAMADA 2",
    "data": "03-05-2021",
    "post": "API nova - TEXTO LONGO"
  }
}
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.