In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
a passenger train moves along tracks near a field and trees

Sentence: 'a large elephant standing in the wild'. Reverse all words of length '5' in the given sentence.
a egral elephant standing in the wild

Sentence: 'a man selling his wares at a street side store'. Reverse all words of length '1' in the given sentence.

a man selling his wares at a street side store