chiasmus
noun
°An inversion of the relationship between the elements of phrases.