🔥 [Python3] 2 line, simple sort and make pairs
\nclass Solution:\n    def minimumSum(self, num: int) -> int:\n        d = sorted(str(num))\n        return int(d[0] + d[2]) + int(d[1] + d[3])\n\n
```\nclass Solution:\n    def minimumSum(self, num: int) -> int:\n        d = sorted(str(num))\n        return int(d[0] + d[2]) + int(d[1] + d[3])\n\n```
['Math', 'Python', 'Python3']