Judging by the comment by Ozzy which states that the order did not matter for him/her, as well as another question here where the poster was required to Apostille the translator’s statement (“I, a sworn translator, hereby certify that…”) as well, we can conclude that the document needs to be Apostilled first, with 2 possible scenarios:
If the translation of the Apostilled document is performed by a certified translator in the country which issued the document or any third-party country, then the translator’s statement will need to be Apostilled in that country as well.
If the translation of the Apostilled document is performed by a certified translator in the country which has requested the document, then the translator’s statement will not need to be Apostilled as the translator is certified and acknowledged in the country.
In both cases, the document certification takes place first.