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 woman is up to bat at a softball game'. Reverse all words of length '2' in the given sentence.
Example Output: a woman si pu ot bat ta a softball game

Example Input: Sentence: 'some strawberries on a thing of food on a table'. Reverse all words of length '5' in the given sentence.
Example Output: some strawberries on a gniht of food on a elbat

Example Input: Sentence: 'a male in a white shirt is surfing in some dirt'. Reverse all words of length '2' in the given sentence.
Example Output:
a male ni a white shirt si surfing ni some dirt