public static void  directselectionsorting(int[] a ){
		for (int i = 0; i < a.length; i++) {
			int k = i;
			for (int j = i+1; j < a.length; j++) {
				if (a[k]>=a[j]) {
					k = j;
				}
			}
			if (k != i) {
				int tmp;
				tmp = a[i];
				a[i] = a[k];
				a[k] = tmp;
			}
		}
		
	}