The function reverses the order of consonants in a word while keeping the vowels in their original positions.
