Welcome to our forum.
So put it this way, if you were going to stain the grout, would you seal the tiles first, or carefully stain the grout and seal the whole mess?