I can't get this sorted by relevantDate. I need newest date first. Can you please help me? Thanks a lot in anticipation!
publications = [{
    "publicationDate" : "12.05.2022",
    "relevantDate" : "01.06.2022",
    "title" : "Bücher",
    "type" : "allgemein"
  }, {
    "publicationDate" : "04.05.2022",
    "relevantDate" : "21.05.2022",
    "title" : "Videos",
    "type" : "allgemein"
  }, {
    "publicationDate" : "14.04.2022",
    "relevantDate" : "25.05.2022",
    "title" : "Musik",
    "type" : "allgemein"
  }];
     publications.sort(function(a, b){
     return new Date(a.relevantDate) - new Date(b.relevantDate);
     });
