Ancient Tales: Skyward Sword → The Minish Cap → Four Swords → Ocarina of Time
Classic Tales: A Link to the Past → Oracles → Link’s Awakening → The Legend of Zelda → The Adventure of Link
Child Tales: Majora’s Mask → Twilight Princess → Four Swords Adventures
Adult Tales: The Wind Waker → Phantom Hourglass → Spirit Tracks
Classic timeline further explained...
Branch 1: Link is defeated by Ganon in OoT.
Branch 2: Link comes back from the future in OoT and tells Zelda what’s going to happen, she sends him away.
Branch 3: There is no longer a hero in the future of OoT since Link was sent back.
After Link dies in Ocarina of Time, Ganon obtains the entire Triforce. The Seven Sages seal away Ganon and the whole Triforce as a last resort, but villains with their eyes on the Triforce make for the Sacred Realm, which eventually turns into the Dark World and is filled with evil power. The Seven Sages then try to seal away the Sacred Realm itself, but end up fighting with monsters. This is the Imprisoning War of A Link to the Past.