Anne Marie d'Orl Ã ans ( 27 August 1669 - 26 August 1728 ) was a niece of Louis XIV and was the wife of Victor Amadeus II of Sardinia . Anne Marie d'Orl Ã ans ( 27 August 1669 - 26 August 1728 ) was the first Queen consort of Sardinia and the maternal grandmother of Louis XV of France .