Easy sorting
```\nclass Solution:\n    def minimizeSum(self, nums: List[int]) -> int:\n        nums.sort()\n           \n        p1 = nums[-1] - nums[2]\n        p2 = nums[-
```\nclass Solution:\n    def minimizeSum(self, nums: List[int]) -> int:\n        nums.sort()\n           \n        p1 = nums[-1] - nums[2]\n        p2 = nums[-3] - nums[0]\n        p3 = nums[-2] - nums[1]\n        \n        return min([p1, p2, p3])\n
['Sorting', 'Python3']