Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a herd of elephants standing next to a metal rail

rail metal a to next standing elephants of herd a