What is the origin of “Improved”, “Lesser”, and “Greater” in spell names?

In D&D 3rd and 5th edition, many spells have variants that begin with the words "Lesser", "Greater", or "Improved" attached to the name of the basic variant of the spell. Some other less common words are "Minor", "Major", and in Pathfinder, "Communal".

I’ve always thought that was cool and interesting.

But I don’t think I played any other roleplaying game that used these terms; nor any such video game that predates D&D 3.0. I also didn’t see these words in fantasy books or in real life.

In fact, these spell names are probably where I see the word "lesser" the most in all English.

Did the template of names like "Lesser (something)" and "Greater (something)" originate with D&D 3, or is it older?