private static void Mergeforcemethod(int i, int n) {
		// TODO Auto-generated method stub
		if((n-i)<100000){
			int il=0;
			int j=0;
			for(il=i;il<n;il++){
				
				for(j=il;j<n;j++){
					if (array[il]>array[j]){
						total++;
					}
				
					
				}	
		
		}
			Arrays.sort(array, i, n);
		}else{

		Mergeforcemethod(i, n/2);

		Mergeforcemethod((n/2)+1, n);

		Countsplit(i,n);
		System.out.print(total);
		System.out.print("\n Final total");
		}
	}