Super Easy Python3 Solution
\nclass Solution:\n    def sortString(self, s: str) -> str:\n        result = []\n        s = list(s)\n        flag = True\n        while len(s)!=0:\n          
```\nclass Solution:\n    def sortString(self, s: str) -> str:\n        result = []\n        s = list(s)\n        flag = True\n        while len(s)!=0:\n            if flag:\n                temp = sorted(set(s))\n            else:\n                temp = sorted(set(s), reverse = True)\n            for ch in temp: s.remove(ch)\n            result.extend(temp)  \n            flag = not flag\n        return "".join(result)\n```
['Python', 'Python3']