So the most common way of defining the timelines are
Classic timeline: RBY -> GSC
Advanced timeline: Gen 3 -> Gen 4 -> Gen 5
Mega timeline LGPE -> Gen 6 -> Gen 7
However this seems to be overlooking something to me. In XY NPC's specifically mention that the Fairy type has only just recently...