Function to simultaneously sort both arrays using insertion sort ( https : www . geeksforgeeks . org / insertion - sort / )
static void insertionSort ( int arr [ ] , int aux [ ] , int n ) { for ( int i = 1 ; i < n ; i ++ ) {