What is the difference between hyperbaton and anastrophe?

Hyperbaton and anastrophe both involve the rearrangement of word order for rhetorical effect, but they differ in scope.

Hyperbaton is a broader term referring to any deviation from the typical or expected word order in a sentence. Hyperbaton can affect multiple parts of the sentence, phrases, or clauses, not just individual words.

Anastrophe is a narrower term and usually involves swapping the usual order of two adjacent elements like an adjective and noun or a verb and subject.

In short, anastrophe is a subset of hyperbaton, although sometimes the two terms are used interchangeably.