Arrange the following temples in a chronological order and select the correct answer from the codes given below:
1. Brihdishwar temple II. Gangaikonda cholapuram temple III. Shore temple of Mahabalipuram IV. Sapt pagoda Codes:
1) I, II, IV, III
2) II, I, III, IV
3) III, II, I, IV
4) IV, III, I, II
4) IV, III, I, II