Modify the LUCSorter sorting algorithm to sort an integer array from the smallest element to the largest. This will be done by swapping the largest element in the array and positioning it at the end, and then continuing with the next largest element. a. Parameter(s): an Array of integersb. Returns: an Array of integersEx. Input: [4, -5, 6, 1, -3, 2, 7, 9, -8, 0]. Output: (-8, -5, -3, 0, 1, 2, 4, 6, 7, 9]