user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Arrange the given sentence in the most logical order.

### Input:
Tom sang the song however Lisa danced

### Response:
assistant
Lisa danced however Tom sang the song.