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 beach chair and sandals in the sand'. Reverse all words of length '2' in the given sentence.
Example Output: a beach chair and sandals ni the sand

Example Input: Sentence: 'a child is inside standing on a skateboard'. Reverse all words of length '6' in the given sentence.
Example Output: a child is edisni standing on a skateboard

Example Input: Sentence: 'thwere is a white table that has black chairs'. Reverse all words of length '5' in the given sentence.
Example Output:
thwere is a etihw elbat that has kcalb chairs