What is the term for moving an adjective from before to after the noun it describes?

I think this is a bit of an anachronism, but sometimes in nursery rhymes or songs you'll hear sentences in which an adjective describing a noun is moved to be after the noun it describes, and I was wondering if there's a specific term for this. Examples:

"The little sheep black" instead of "The little black sheep"

"The virgin pure" instead of "The pure virgin"


Solution 1:

It's a form of inversion, also known as an anastrophe.

Inversion, also known as “anastrophe,” is a literary technique in which the normal order of words is reversed, in order to achieve a particular effect of emphasis or meter.