moves the order of messages to match the state of the q & a