Please explain how MANY of them that sleep in the dust of the earth are raised and not ALL of them that sleep in the ground are raised.
Daniel 12
And at that time shall Michael stand up, the great prince which standeth for the children of thy people: and there shall be a time of trouble, such as never was since there was a nation even to that same time: and at that time thy people shall be delivered, every one that shall be found written in the book.
2 And many of them that sleep in the dust of the earth shall awake, some to everlasting life, and some to shame and everlasting contempt.
Many does not mean "many, but not all". You are trying to force a definition on the Hebrew word raḇ (Strong's H727 - translated as "many" in Daniel 12:2) that doesn't exist.
Here are a few examples where the word is used to describe all of something rather than many, but not all of something.
Genesis 21:33 And Abraham planted a grove in Beersheba, and called there on the name of the Lord, the everlasting God. 34 And Abraham sojourned in the Philistines' land
many (rab) days.
This passage is referring to all of the days that Abraham sojourned in the Philistines' land, of which there were "many".
Genesis 37:31 And they took Joseph's coat, and killed a kid of the goats, and dipped the coat in the blood; 32 And they sent the coat of many colours, and they brought it to their father; and said, This have we found: know now whether it be thy son's coat or no. 33 And he knew it, and said, It is my son's coat; an evil beast hath devoured him; Joseph is without doubt rent in pieces. 34 And Jacob rent his clothes, and put sackcloth upon his loins, and mourned for his son
many (rab) days.
This describes Jacob thinking that his son Joseph was dead and mourning for his son "many days". But, it does not refer to many, but not all of the days he mourned, it describes all of the days he mourned, of which there were many.
Exodus 5:4 And the king of Egypt said unto them, Wherefore do ye, Moses and Aaron, let the people from their works? get you unto your burdens. 5 And Pharaoh said, Behold, the people of the land now are
many (rab), and ye make them rest from their burdens.
Here, Pharaoah refers to the Israelite slaves in Egypt and said there were "many". He was referring to all of them, the number of which were "many".
So, now that we know what the word actually means and what it doesn't mean, Daniel 12:2 should be understood to be talking about all of the dead being resurrected at generally the same time with the number of them being "many". It's clearly referring to the same resurrection of all the dead that Jesus referred to here:
John 5:28 Marvel not at this: for
the hour is coming, in the which all that are in the graves shall hear his voice, 29 And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil, unto the resurrection of damnation.
Here we see ALL of them that are in the graves come forth.
The Word says that those who have done good come forth to the resurrection of live and those that have done evil unto the resurrection of damnation.
Is your salvation based on you doing good?
No, salvation is by grace through faith and not of works (Ephesians 2:8-10). But, our works reflect our faith and faith without works is dead, and that's what it's talking about. Those who have done good are those who have submitted themselves to Christ and did the good works that God prepared for them to do because of their faith in Christ.
James 2:17 Even
so faith, if it hath not works, is dead, being alone. 18 Yea,
a man may say, Thou hast faith, and I have works: shew me thy faith without thy works, and I will shew thee my faith by my works.
So, again, those who have done good are those who had faith which was shown by their works. Those with faith don't do works to earn salvation, they do works in obedience to their Lord and Master, Jesus.