In Ocarina of Time, do you do the Spirit Temple first or Shadow?

Current Events

First time playing I did Fire before Forest, because Navi bugs you go to Kakariko to get the Hookshot immediately and if you're already in Kakariko then Death Mountain is right there. But otherwise I did them in the "normal" order
https://i.imgur.com/dzGMd.png