The reference in Apoc. 12 is to her children by spiritual adoption, compare John 19. The scripture does not have a reference to Mary’s biological children other that Jesus.
Genesis 37:9 Then he had another dream, and he told it to his brothers. "Listen," he said, "I had another dream, and this time the sun and moon and eleven stars were bowing down to me." 10 When he told his father as well as his brothers, his father rebuked him and said, "What is this dream you had? Will your mother and I and your brothers actually come and bow down to the ground before you?" 11 His brothers were jealous of him, but his father kept the matter in mind.
Revelation 12:1 A great and wondrous sign appeared in heaven: a woman clothed with the sun, with the moon under her feet and a crown of twelve stars on her head. 2 She was pregnant and cried out in pain as she was about to give birth. 3 Then another sign appeared in heaven: an enormous red dragon with seven heads and ten horns and seven crowns on his heads.
The woman does NOT ascend.
The woman does go into the wilderness. (Mary stayed in Jerusalem after the ascension. Later in life she went to Ephesus and not the wilderness.)
The woman has many spiritual children.