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 large flock of birds fly through the sky'. Reverse all words of length '3' in the given sentence.
Example Output: a large flock of birds ylf through eht yks

Example Input: Sentence: 'a train platform at a train stop with brick style flooring'. Reverse all words of length '2' in the given sentence.
Example Output: a train platform ta a train stop with brick style flooring

Example Input: Sentence: 'a partly eaten hotdog on a bun wrapped in foil'. Reverse all words of length '5' in the given sentence.
Example Output:
a partly netae hotdog on a bun wrapped in foil