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.

Example Input: Sentence: 'a bird sitting in a tree next to a citrus fruit'. Reverse all words of length '6' in the given sentence.
Example Output: a bird sitting in a tree next to a surtic fruit

Example Input: Sentence: 'there is no image to provide a caption for'. Reverse all words of length '7' in the given sentence.
Example Output: there is no image to edivorp a noitpac for

Example Input: Sentence: 'a man holding shopping bags while others rush to the train'. Reverse all words of length '2' in the given sentence.
Example Output:
a man holding shopping bags while others rush ot the train