Given an array of 2n integers, your task is to group these integers into n pairs of integer, say
**Input:** [1,4,3,2]
**Output:** 4
$min(1,2) + min(3,4)$ = 4
We consider this problem as minimize the sum loss, which is derived by
def arrayPairSum(self, nums: List[int]) -> int:
nums.sort()
output = 0
N = len(nums)
for i in range(0,N,2):
output+=nums[i]
return output