public boolean ordenar()
    {
        for (int i=1; i<this.capacidade - 1; i++) 
        {
            if(this.aContas[i] != null)
            {
                ContaCorrente k = this.aContas[i];
                int kn = this.aContas[i].getNumero();
                int j = i;
                while(j > 0 && this.aContas[j] != null && this.aContas[j-1].getNumero() > kn)
                {
                    this.aContas[j] = this.aContas[j-1];
                    j = j - 1;
                }
                this.aContas[j] = k;
            }
        }
        this.estaOrdenado = true;
        return true;
    }