Javascript
\nvar minimumSum = function(num) {\n    num = num.toString().split("").sort();\n    return (Number(num[0]+num[2]) + Number(num[1]+num[3]) )\n};\n
```\nvar minimumSum = function(num) {\n    num = num.toString().split("").sort();\n    return (Number(num[0]+num[2]) + Number(num[1]+num[3]) )\n};\n```
[]