the official order is forest, fire, water, shadow, spirit, however there are other options, you can go to the water temple after forest, you truely dont need the hammer for that dungeon. in retrospect, if you think about it, you can finish the temples in any order you want, except for the shadow...