reverse a sentence