Write the function removeOrd that removes an item from anarray-based ordered list. The item to be removed is passed as aparameter to this function. After removing the item the resultinglist must be ordered with no empty array positions between theelements. Add this function to the class orderedArrayListType andwrite a program to test it.