Python3 one-million liner
Probably top three worst solutions:\n\n\n\nclass Solution:\n    def sortArrayByParity(self, A):\n        output=[]\n        x= dict({"even":[],"odd":[]})\n     
Probably top three worst solutions:\n\n```\n\nclass Solution:\n    def sortArrayByParity(self, A):\n        output=[]\n        x= dict({"even":[],"odd":[]})\n        for i in A:\n            if i%2:\n                x["odd"].append(i)\n            else:\n                x["even"].append(i)\n\n        x["even"].sort()\n        x["even"]=x["even"][::-1]\n        x["odd"].sort()\n        x["odd"]=x["odd"][::-1]\n        output= x["even"]+x["odd"]\n        return output\n```
['Python', 'Python3']