✅Java Simple Solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public String sortVowels(String s) {\n         ArrayList<Character> arrayList = new ArrayList<>();\n        for (char c : s.toCharArray()) {\n            if (c == \'a\' || c == \'e\' || c == \'i\' || c == \'o\' || c == \'u\' \n                || c == \'A\' || c == \'E\' || c == \'I\' || c == \'O\' || c == \'U\') {\n                arrayList.add(c);\n            }\n        }\n        \n        if (arrayList.isEmpty()) return s;\n\n        Collections.sort(arrayList);\n\n        StringBuilder str = new StringBuilder();\n        \n        for (int i = 0 , j = 0; i < s.length(); i++) \n        {\n            char c = s.charAt(i);\n            if (c == \'a\' || c == \'e\' || c == \'i\' || c == \'o\' || c == \'u\' \n                || c == \'A\' || c == \'E\' || c == \'I\' || c == \'O\' || c == \'U\') {\n                \n                str.append(arrayList.get(j++));\n            }else {\n                str.append(c);\n            }\n        }\n\n        return str.toString();\n    }\n}\n```\n\n## For additional problem-solving solutions, you can explore my repository on GitHub: [GitHub Repository](https://github.com/ahmedna126/java_leetcode_challenges)\n\n\n![abcd1.jpeg](https://assets.leetcode.com/users/images/9e239d8e-0413-4bb7-b585-e2aed8fe927f_1699908879.382216.jpeg)\n
['String', 'Sorting', 'Java']