The following is a ranking from weakest to strongest, strictly considering named entities in official D&D lore. Although the Old Ones of Mystara exist far above overgods, none of them are individually named or well-known entities, so they won't be included on this list.
Number 10: Vecna
Vecna nearly reshaped the entire D&D multiverse in the 5e adventure Vecna: Eve of Ruin.
Vecna: Eve of Ruin, p. 5:
The combined power of Vecna's magic and the collected secrets reaches critical mass at the end of the ritual, triggering an explosion of sufficient magnitude to destroy Pandemonium and unravel the multiverse. Vecna, with his consciousness preserved inside a magical singularity, can then reknit the multiverse exactly as he wants, sealing the multiverse's terrible fate.
However, because 5e is just too popular, WotC couldn't bear to transition D&D from 5e into 6e, so Vecna ended up failing anyway.
Vecna: Eve of Ruin, p. 203:
With Vecna banished to Oerth and his ritual foiled, the characters have saved the multiverse from ruin.
Still, WotC classifies Vecna's divine rank as a lesser deity, which is why I didn't place him higher on the list.
Number 9: Mystra
Mystra controls the Weave across the entire D&D multiverse, which means even spellcasters on Krynn can cast spells through Mystra's Weave.
Arcana Unleashed, p. 5:
The worlds within the D&D multiverse are magical places. All existence is suffused with magical power, and potential energy lies untapped in every rock, stream, and living creature—even in the air itself. Raw magic is present in every manifestation of energy throughout the multiverse.
Mortals can't directly shape this raw magic. Instead, they use a fabric of magic—an interface between the will of a spellcaster and raw magic. The spellcasters of the Forgotten Realms call it the Weave and recognize its essence as the god Mystra, but casters have varied ways of naming and conceptualizing this interface.
According to official lore, Mystra is the most powerful deity in Faerûn (since overgods don't fall under the category of regular deities).
Faiths & Avatars, p. 128:
Mystra (MISS-trah) is the goddess of magic and with that the goddess of possibilities, which makes her arguably the most powerful deity in Faerûn and possibly throughout Realmspace.
Mystra's death also triggered a shift in the entire Forgotten Realms cosmology (transforming FR from the 3e World Tree cosmology into the 4e World Axis cosmology).
4e Forgotten Realms Campaign Guide, pp. 4–5:
2. The Spellplague has drastically altered the cosmos. The Spellplague broke out in 1385 DR (the Year of Blue Fire), the result of unfettered wild magic on the death of the goddess Mystra. Whole countries are gone, especially in regions south of the Sea of Fallen Stars. Even familiar lands have become magical and fantastic in appearance. Islands of rock called earth-motes drift through the sky. Weird towers and spires of stone jut from the landscape. Spectacular chasms and waterfalls abound.
All things were sustenance for the Spellplague's insatiable hunger—it assailed and transformed flesh, stone, magic, space, and dimensional walls. Even the cosmos beyond Toril was affected. Some ancient realms returned that had been thought gone forever (such as the Feywild), and entire planes (such as the Abyss) shifted to a new cosmic structure.
Furthermore, according to Ed Greenwood, Mystra could become an overgod anytime she wanted to: http://forum.candlekeep.com/topic.asp?TOPIC_ID=13186&whichpage=50
Therefore, I think placing Mystra at Number 9 is very fitting.
Tied for Number 6: Celestial Emperor, Fate, and Maztica
These three exist on virtually the same tier as Ao (even though they aren't explicitly labeled as overgods/overpowers), so I'm placing them here.
Forgotten Realms Campaign Setting 2nd edition (revised), Running the Realms, p. 61:
Ao appears to be responsible for the major gods of the Realms (the greater, intermediate, and lesser powers listed earlier in this chapter). In addition, there seem to be other over-powers in other pantheons alien to those commonly found in Faerûn. Far to the East, the godhead is arranged as a church hierarchy or army, with one Supreme Bureaucrat commanding the Celestial Bureaucracy. Far to the South, another unified pantheon traces its teachings back to a being known as Fate, who is not a god but rather something greater and vastly different. And to the West the gods of the True World venerate a founding mother known as Maztica.
Tied for Number 4: Ao and the High God
In official sourcebooks like On Hallowed Ground, their divine rank is explicitly listed as overgods/overpowers. Overgods can demote gods to mortals and elevate mortals to godhood—it's safe to say they exist far beyond the normal tier of D&D deities.
Forgotten Realms Campaign Setting, p. 258:
Ao (ay-oh) stands outside of the power struggles of deities in Faerûn. A quiet and distant being, Ao is the overgod of Toril. He is responsible for the creation of the first deities of Toril and for maintaining the cosmic balance. Ao was completely unknown to mortals before the Time of Troubles. His presence was made known when he single-handedly banished all the deities to walk Faerûn in mortal forms as punishment because many of them had abdicated their responsibilities. Ao has supreme power over all the deities of Toril, is capable of demoting, banishing, or destroying any of them, and can elevate mortals to any level of divinity if they accept the responsibilities and duties of the divine state. No being can be promoted to divinity without his approval. He is impervious to all attacks, even by a concerted effort of all the divine powers, and has no known realm among the planes. Ao is essentially the god of the deities of Faerûn. He answers no mortal's prayer, grants no spells to mortals, and has not been heard from since the end of the Godswar. It is unknown if he established the foundation of the cosmology of Toril or if that structure is something that evolved over time from the interaction of the deities.
Number 3: Serpent
The Serpent is very likely a being on the same tier as the Lady of Pain, so placing it at Number 3 feels like the safest call.
Die Vecna Die, p. 151:
Thus, the Lady of Pain, a confidant or perhaps even peer to the Serpent, speaks in the Language Primeval (the language of the Serpent and its Ancient Brethren, in which the three words of Creation Once Spoken were uttered).
Number 2: Luminous Being
The Luminous Being presides over countless Overgods—even Ao is merely one of its servants.
Waterdeep, p. 341:
Ao closed his eyes and blanked his mind. Soon, he fell within himself and entered the place before time, the time at the edge of the universe, where millions and millions of assignments like his began and ended.
A luminous presence greeted him, enveloping his energies within its own. It was both a warm and a cold entity, forgiving and harsh. “And how does your cosmos fare, Ao?” The voice was at once both gentle and admonishing.
“They have restored the Balance, Master. The Realms are once again secure.”
Unfortunately, WotC retconned the Luminous Being out during 4e, so Ao no longer serves it.
Forgotten Realms Campaign Guide, p. 74:
Ao exists beyond the concept of alignment or worship. He serves no one, and no one serves him. Instead he watches all, sees all, and judges all.
That said, I believe WotC is bound to bring the Luminous Being back in 5.5e, which is why I'm keeping it in this spot.
Number 1: Lady of Pain
If the Luminous Being represents the DM, then the Lady of Pain undoubtedly represents the entire D&D brand itself.
The Lady of Pain's true form is the entire D&D multiverse. Every campaign we run at our tables takes place inside her true form (the D&D multiverse) or within her dreams, which is why she possesses omnipresence.
Dragon Talk: LYSK The Lady of Pain (3:14):
"I will define her as the multiverse embodied hmm that she is essentially a figment of or a vestige of the all of the elements that make up the multiverse, sort of gathered into one force, mmm. Because as far as we know she's been around since the formation of the multiverse and may have to some extent even had a hand in it. And even though you know were the multiverse to be destroyed, it's likely that she might be the last one left behind. Could she then reimage the multiverse? Perhaps that is yes. And is well everything that we experience in the D&D multiverse is it all, it's just her dreams."
Sigil and the Outlands, p20:
The Lady of Pain is omnipresent, unknowable, and invincible.
Furthermore, the Lady of Pain is the only entity in D&D who is simultaneously omniscient, omnipotent, and omnipresent—she is essentially the Eru Ilúvatar of D&D.
Dragon Talk: LYSK The Lady of Pain (6:58):
"She's not a god, just some sort of omnipotent, omniscient, and omnipresent entity."
If players at any table try to destroy the multiverse, the Lady of Pain can stop them with a single thought.
2024 Player's Handbook, Wish spell description:
If your wish would undo the multiverse itself, threaten the City of Sigil, or affect the Lady of Pain in any way, you see an image of her in your mind for a moment; she shakes her head, and your wish fails.
In Die Vecna Die, the Lady of Pain reshaped the entire multiverse, directly transitioning D&D brand from 2e to 3e.
Die Vecna Die, p151:
Uttering her words, while standing in the crux of the multiverse known as Sigil, she reorders reality. Uttering her words, the only words spoken by her in the last several millennia, she shores up Sigil's wards against entry by deities who attempt to "cheat" as Vecna did. Uttering her words, she attempts to shore up the sum of all creation, also called superspace.