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: 'two baseball players look on awaiting the pitch to be made'. Reverse all words of length '5' in the given sentence.
Example Output: two baseball players look on awaiting the hctip to be made

Example Input: Sentence: 'a toilet and a roll of toilet paper'. Reverse all words of length '2' in the given sentence.
Example Output: a toilet and a roll fo toilet paper

Example Input: Sentence: 'a horse hangs peacefully in the shade of the tree next to the trail'. Reverse all words of length '10' in the given sentence.
Example Output:
a horse hangs yllufecaep in the shade of the tree next to the trail