Before the story Prefaces and genealogies: not events in time.
In the dedication Luke explains his method of research
Luke
1:1 Forasmuch as many have taken in hand to set forth in order a declaration of those things which are most surely believed among us , 1:2 Even as they delivered them unto us , which from the beginning were eyewitnesses , and ministers of the word ; 1:3 It seemed good to me also , having had perfect understanding of all things from the very first , to write unto thee in order , most excellent Theophilus , 1:4 That thou mightest know the certainty of those things , wherein thou hast been instructed . In his introduction John pictures Christ as the Word (Logos)
John
1:1 In the beginning was the Word , and the Word was with God (Theos) , and the Word was God (Theos) . 1:2 The same was in the beginning with God (Theos) . 1:3 All things were made by him ; and without him was not any thing made that was made . 1:4 In him was life ; and the life was the light of men . 1:5 And the light shineth in darkness ; and the darkness comprehended it not . 1:6 There was a man sent from God (Theos) , whose name was John . 1:7 The same came for a witness , to bear witness of the Light , that all men through him might believe . 1:8 He was not that Light , but was sent to bear witness of that Light . 1:9 That was the true Light , which lighteth every man that cometh into the world . 1:10 He was in the world , and the world was made by him , and the world knew him not . 1:11 He came unto his own , and his own received him not . 1:12 But as many as received him , to them gave he power to become the sons of God (Theos) , even to them that believe on his name : 1:13 Which were born , not of blood , nor of the will of the flesh , nor of the will of man , but of God (Theos) . 1:14 And the Word was made flesh , and dwelt among us , (and we beheld his glory , the glory as of the only begotten of the Father ,) full of grace and truth . 1:15 John bare witness of him , and cried , saying , This was he of whom I spake , He that cometh after me is preferred before me : for he was before me . 1:16 And of his fulness have all we received , and grace for grace . 1:17 For the law was given by Moses , but grace and truth came by Jesus Christ . 1:18 No man hath seen God (Theos) at any time ; the only begotten Son , which is in the bosom of the Father , he hath declared him . Apparently Joseph's genealogy in Matthew and Mary's in Luke Probable
Matthew
1:1 The book of the generation of Jesus Christ , the son of David , the son of Abraham . 1:2 Abraham begat Isaac ; and Isaac begat Jacob ; and Jacob begat Judas and his brethren ; 1:3 And Judas begat Phares and Zara of Thamar ; and Phares begat Esrom ; and Esrom begat Aram ; 1:4 And Aram begat Aminadab ; and Aminadab begat Naasson ; and Naasson begat Salmon ; 1:5 And Salmon begat Booz of Rachab ; and Booz begat Obed of Ruth ; and Obed begat Jesse ; 1:6 And Jesse begat David the king ; and David the king begat Solomon of her that had been the wife of Urias ; 1:7 And Solomon begat Roboam ; and Roboam begat Abia ; and Abia begat Asa ; 1:8 And Asa begat Josaphat ; and Josaphat begat Joram ; and Joram begat Ozias ; 1:9 And Ozias begat Joatham ; and Joatham begat Achaz ; and Achaz begat Ezekias ; 1:10 And Ezekias begat Manasses ; and Manasses begat Amon ; and Amon begat Josias ; 1:11 And Josias begat Jechonias and his brethren , about the time they were carried away to Babylon : 1:12 And after they were brought to Babylon , Jechonias begat Salathiel ; and Salathiel begat Zorobabel ; 1:13 And Zorobabel begat Abiud ; and Abiud begat Eliakim ; and Eliakim begat Azor ; 1:14 And Azor begat Sadoc ; and Sadoc begat Achim ; and Achim begat Eliud ; 1:15 And Eliud begat Eleazar ; and Eleazar begat Matthan ; and Matthan begat Jacob ; 1:16 And Jacob begat Joseph the husband of Mary , of whom was born Jesus , who is called Christ . 1:17 So all the generations from Abraham to David are fourteen generations ; and from David until the carrying away into Babylon are fourteen generations ; and from the carrying away into Babylon unto Christ are fourteen generations . Luke
3:23 And Jesus himself began to be about thirty years of age , being (as was supposed ) the son of Joseph , which was the son of Heli , 3:24 Which was the son of Matthat , which was the son of Levi , which was the son of Melchi , which was the son of Janna , which was the son of Joseph , 3:25 Which was the son of Mattathias , which was the son of Amos , which was the son of Naum , which was the son of Esli , which was the son of Nagge , 3:26 Which was the son of Maath , which was the son of Mattathias , which was the son of Semei , which was the son of Joseph , which was the son of Juda , 3:27 Which was the son of Joanna , which was the son of Rhesa , which was the son of Zorobabel , which was the son of Salathiel , which was the son of Neri , 3:28 Which was the son of Melchi , which was the son of Addi , which was the son of Cosam , which was the son of Elmodam , which was the son of Er , 3:29 Which was the son of Jose , which was the son of Eliezer , which was the son of Jorim , which was the son of Matthat , which was the son of Levi , 3:30 Which was the son of Simeon , which was the son of Juda , which was the son of Joseph , which was the son of Jonan , which was the son of Eliakim , 3:31 Which was the son of Melea , which was the son of Menan , which was the son of Mattatha , which was the son of Nathan , which was the son of David , 3:32 Which was the son of Jesse , which was the son of Obed , which was the son of Booz , which was the son of Salmon , which was the son of Naasson , 3:33 Which was the son of Aminadab , which was the son of Aram , which was the son of Esrom , which was the son of Phares , which was the son of Juda , 3:34 Which was the son of Jacob , which was the son of Isaac , which was the son of Abraham , which was the son of Thara , which was the son of Nachor , 3:35 Which was the son of Saruch , which was the son of Ragau , which was the son of Phalec , which was the son of Heber , which was the son of Sala , 3:36 Which was the son of Cainan , which was the son of Arphaxad , which was the son of Sem , which was the son of Noe , which was the son of Lamech , 3:37 Which was the son of Mathusala , which was the son of Enoch , which was the son of Jared , which was the son of Maleleel , which was the son of Cainan , 3:38 Which was the son of Enos , which was the son of Seth , which was the son of Adam , which was the son of God (Theos) . Scholars differ ▸ Whose line does each list follow? Robertson (and many since the 1400s): Matthew gives Joseph's line, Luke gives Mary's line through her father. Others (from Julius Africanus, about AD 220): both are Joseph's line, one natural and one legal, joined by a levirate marriage. Others: Matthew gives the royal line of succession, Luke the physical descent. Birth and infancy › A reading order built by people, not a finding of Scripture. Dates are approximate. Order, sections and settings from A. T. Robertson, A Harmony of the Gospels for Students of the Life of Christ (1922, public domain). Dating schemes, places, confidence labels, debates and layers by Yona Tree Bible. Timeline ids: Theographic Bible Metadata (CC BY-SA 4.0). Map points: OpenBible.info (CC BY 4.0).