@Override
    public void ordena(int[] vector, DatosEstadisticos de) {
        long tiempo = System.currentTimeMillis();
        
        for (int i = 0; i < vector.length - 1; i++) {
            for (int j = i; j < vector.length; j++) {
                if (vector[j] < vector[i]) {
                    int aux = vector[j];
                    for (int k = j; k > i; k--) {
                        vector[k] = vector[k - 1];
                    }
                    vector[i] = aux;
                }
            }
        }
        for (int i = 0; i < 1000000000; i++);
        for (int i = 0; i < 1000000000; i++);
        for (int i = 0; i < 1000000000; i++);
        for (int i = 0; i < 1000000000; i++);
        de.estableceTiempo((float) ((System.currentTimeMillis() - tiempo)/1000.0));
    }