Sorting Vowels in a Message
Imagine you receive a single message string represented by a string s. Your task is to reorganize the message to create a new string t according to the following rules:
Keep all consonants in their original positions.
Sort the vowels in non-decreasing order of their ASCII values.
Your goal is to rearrange the message to adhere to these rules and print the resulting string.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)