Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a line of yachts are docked to their respective piers

piers respective their to docked are yachts of line a