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 triangular grouping of jet planes flying in the sky'. Reverse all words of length '3' in the given sentence.
Example Output: a triangular grouping of tej planes flying in eht yks

Example Input: Sentence: 'an oldfashioned safe and roll top desk in a green room'. Reverse all words of length '3' in the given sentence.
Example Output: an oldfashioned safe dna roll pot desk in a green room

Example Input: Sentence: 'a baseball player is swinging at the ball'. Reverse all words of length '8' in the given sentence.
Example Output:
a llabesab player is gnigniws at the ball