Design of efficient high-order immersed metagratings using an evolutionary algorithm