It depends on your choice since the score of both isn’t really related. Giving the IELTS before GMAT will make the preparation of GMAT verbal easier for you though.