public static void selectionSort (int[] array) {
		if (array == null || array.length <= 1) {
			return;
		}
		int minIndex;
		for (int i = 0; i < array.length; i++) {
			minIndex = i;
			for (int j = i + 1; j < array.length; j++) {
				if (array[minIndex] > array[j]) {
					minIndex = j;
				}
			}
			swap(array, minIndex, i);
		}
	}