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: 'an omelet with hash browns and toast as breakfast'. Reverse all words of length '5' in the given sentence.
Example Output: an omelet with hash browns and tsaot as breakfast

Example Input: Sentence: 'a motorcycle gang riding through the streets with trees'. Reverse all words of length '4' in the given sentence.
Example Output: a motorcycle gnag riding through the streets htiw trees

Example Input: Sentence: 'several elephants are standing together in their habitat'. Reverse all words of length '2' in the given sentence.
Example Output:
several elephants are standing together ni their habitat