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 vase with purple sand and flowers inside'. Reverse all words of length '4' in the given sentence.
a esav htiw purple dnas and flowers inside

Sentence: 'a yellow bird that is on a branch'. Reverse all words of length '1' in the given sentence.
a yellow bird that is on a branch

Sentence: 'a man on the ground playing base ball'. Reverse all words of length '7' in the given sentence.

a man on the ground gniyalp base ball