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 hotdog with cheese with a side of chili fries'. Reverse all words of length '4' in the given sentence.
Example Output: a hotdog htiw cheese htiw a edis of chili fries

Example Input: Sentence: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.
Example Output: the three sniart are stopped on the railroad skcart

Example Input: Sentence: 'a device labeled the nutribullet contains red and green nutritional substances'. Reverse all words of length '5' in the given sentence.
Example Output:
a device labeled the nutribullet contains red and neerg nutritional substances