public static void sort(int[] source) {

		int len = source.length;

		if (len == 0) {
			System.out.println("Empty!");
			return;
		} else if (len == 1) {
			return;
		}

		for (int i = 0; i < source.length - 1; i++) {
			boolean exchange = false;
			for (int j = source.length - 1; j > i; j--) {
				if (source[j] < source[j - 1]) {
					int temp = source[j];
					source[j] = source[j - 1];
					source[j - 1] = temp;
					exchange = true;
				}
			}
			if (!exchange) {
				System.out.println(i);
				break;
			}
		}
	}