##Insert Sort Back
void INSERTSORT(int A[], int array_size)
{
int j;
for (j = 1; j <= array_size - 1; j++)
{
int key = A[j]; //use key to store the current item
int i = j - 1;
while (i >= 0 && A[i] > key) //move items bigger than it
{
A[i + 1] = A[i];
i--;
}
A[i + 1] = key; //push it in
}
}