Ocarina of time was actually the first Zelda game in the legend, before it descended into hyrule A and hyrule B well to be honest, Minish cap was the first then four swords but no one gives a fuck, Ocarina turned the legend into a split timeline and made the saga what it is today, even though plenty of games came out before ocarina, this is what made everything make sense as far as the storyline goes.
Maybe Im just that into Zelda that no one else realizes this
From what the developer said Skyward sword is supposed to take place right before ocarina of time though