Problem playing one sound and then other

Thanks a lot, it worked !!
So i dont know if you are a developer of p5.js, but this should be documented. In my opinion as said before, p5.js should made the operations so that:
song1.play();
song2.play();
restartGame();

You played song1 and then song2 and then restartGame().

Thanks again