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 man trying to hit a ball that is close to the ground'. Reverse all words of length '1' in the given sentence.
a man trying to hit a ball that is close to the ground

Sentence: 'a white plate with a sandwich and chips between a cat and a bird'. Reverse all words of length '4' in the given sentence.
a white plate htiw a sandwich and chips between a cat and a drib

Sentence: 'two hot dogs surrounded with bacon and cheese'. Reverse all words of length '6' in the given sentence.

two hot dogs surrounded with bacon and eseehc