Ancestor by ancestor, as given in the biblical genealogies.
Who appears in the story just before and after this person (Egypt and wilderness).
… Balaam Balak Gershon Eleazar Zelophehad Sihon Og Nun Joshua …
Nu 26:33Zelophehad son of Hepher had no sons, but only daughters; their names were Mahlah, Noah, Hoglah, Milcah, and Tirzah.
Nu 27:1Mahlah, Noah, Hoglah, Milcah, and Tirzah were the daughters of Zelophehad son of Hepher, son of Gilead, son of Machir, son of Manasseh, son of Joseph.
Nu 27:7“What the daughters of Zelophehad request is right; give them property among their father's relatives. Let his inheritance pass on to them.
Nu 36:2They said, “The Lord commanded you to distribute the land to the people of Israel by drawing lots. He also commanded you to give the property of our relative Zelophehad to his daughters.
Nu 36:6and so the Lord says that the daughters of Zelophehad are free to marry anyone they wish but only within their own tribe.
People, family relations and passages: TIPNR, STEPBible (Tyndale House, Cambridge), CC BY 4.0. People in the deuterocanonical books: MARBLE names list, United Bible Societies (UBS).