This post is bassed off of both this video and this thread.
So it looks like the time line goes;
Minish cap
OoT
OoT's past
MM
MM bad ending
TP
MM's good ending
Links awakening
Zelda 1
Zelda 2
Four swords
A link to the past
Oracle of A/S
OoT's future
WW
PH
Oracle of A/S
I also have the theory that Links awakening was a dream link had when in a paraell timeline Ganon appears and link isn't there to stop him.
That is the story behind the dream.
Mods, Please Note before locking/deleting: This thread wasn't made in the orignal topic because this thread is for discussing the zelda timeline and links awakening as a whole, not just one part of the time paradox.