If you are asking where the titles come from in real life, then the answer is that they are real terms used in Judeo-Christian supernatural hierarchy.
To be more specific: For angels:
First Sphere:
-Seraphim
-Cherubim
-Thrones
Second Sphere:
-Dominions
-Virtues
-Powers
Third Sphere:
-Principalities
-Archangels
-Angels
For Demons:
They are essentially the same, since they are simply fallen angels. Some examples:
First sphere - namely the Seraphim, Cherubim and Thrones.
Seraphim:
* Lucifer or Satan is the leader of the hierarchy of devils
* Azazel (also known as Azrial) was second after Semyazza in leading the grigori, who fathered the Nephilim. And the chief of the nine choirs of angels are fallen.
* Beelzebub is the lord of Dark Places, people say that he was the angel of Germs or Plague.
* Asmodeus is of the same order. He continues as a Seraphim to this day, that is, he burns with the desire to tempt men with his wine of luxuriousness.
* Samael (Some texts have Samael as Satan's true angelic name instead of Lucifer)
* Semyazza was the leader of the fallen Grigori. The Grigori were bound to the earth during the Great Flood as punishment for their fall.
Cherubim:
* Balberith is Prince of the Cherubim. He tempts men to commit homicides, and to be quarrelsome, contentious, and blasphemous.
* Lauviah
* Marou
* Salikotal
* Abaddon
Thrones:
* Astaroth, Prince of the Thrones, is always desirous to sit idle and be at ease. He tempts men with idleness and sloth.
* Verrine is also one of the Thrones and is next in place after Astaroth. He tempts men with impatience.
* Gressil is the third in the order of Thrones. He tempts men with impurity and uncleanness.
* Sonneillon is the fourth in the order of Thrones. He tempts men with hatred against their enemies.
* Focalor
* Forneas is the sixth in the order of the throne. He tempts men to commit suicide.
* Murmur
* Nelchael
* Pruflasis the ninth in order of the thrones. He tempts men to lie and cheat.
* Raum is the tenth in order of the thrones. He tempts men to steal.
Second hierarchy:
* Carreau, Prince of Powers. He tempts men with hardness of heart.
* Carnivean is also a Prince of Powers. He tempts men to obscenity and shamelessness.
* Oeillet is a Prince of Dominions. He tempts men to break the vow of poverty.
* Rosier is the second in the order of Dominions. He tempts men against sexual purity.
* Verrier is Prince of Principalities. He tempts men against the vow of obedience.
Third hierarchy:
* Belial is the Prince of the Order of Virtues. He tempts men with arrogance.
* Olivier is the Prince of the Archangels. He tempts men with cruelty and mercilessness toward the poor.
* Luvart is Prince of Angels.
Former PBEM singles champion.