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.

Sentence: 'a can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.
a can fo pepsi and cellphone no the table

Sentence: 'three brown horses standing in a green field'. Reverse all words of length '5' in the given sentence.
eerht nworb horses standing in a neerg dleif

Sentence: 'a messy workbench with a variety of tools'. Reverse all words of length '1' in the given sentence.

a messy workbench with a variety of tools