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 bird sitting in a tree next to a citrus fruit'. Reverse all words of length '6' in the given sentence.
a bird sitting in a tree next to a surtic fruit

Sentence: 'a pizza that has jalapenos on one side and olives on the other'. Reverse all words of length '3' in the given sentence.
a pizza that sah jalapenos on eno side dna olives on eht other

Sentence: 'a heavy set cat laying on top of a suit case'. Reverse all words of length '4' in the given sentence.

a heavy set cat laying on top of a tius esac