Java || Simple Sorting Solution ✅
Intuition\n Describe your first thoughts on how to solve this problem. \nSeparate out the vowels and sort them and then insert the consonants and sorted vowels 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nSeparate out the vowels and sort them and then insert the consonants and sorted vowels in the new string \n\n# Code\n```\nclass Solution {\n    public boolean isVowel(char c){\n        return (c == \'a\' || c == \'e\' || c == \'i\' || c == \'o\' || c == \'u\' || c == \'A\' || c == \'E\' || c == \'I\' || c == \'O\' || c == \'U\');\n    }\n    public String sortVowels(String s) {\n        char c[] = s.toCharArray();\n        StringBuilder sb = new StringBuilder();\n        List<Character> list = new ArrayList<>();\n        for(int i = 0;i<c.length;i++){\n            if(isVowel(c[i])){\n                list.add(c[i]);\n            }\n        }\n        Collections.sort(list);\n        int ind = 0;\n        for(int i = 0;i<c.length;i++){\n            if(!isVowel(c[i])){\n                sb.append(c[i]);\n            }\n            else{\n                sb.append(list.get(ind++));\n            }\n        }\n        return sb.toString();\n    }\n}\n```
['String', 'Sorting', 'Java']