@Override
	protected void sort(T[] array, int leftIndex, int rightIndex) {
		
		for (int j = leftIndex; j <= rightIndex; j++) {
			
			T aux = array[j];
			int i = j - 1;
			
			while (i >= leftIndex && array[i].compareTo(aux) > 0) {
				
				array[i + 1] = array[i];
				i--;
				
			}
			
			array[i + 1] = aux;
		}
	}