C++ Sorts the array from 1 to the following table, insert sort, swap sort, select sort, merge sort