Method that reverses string order