It seems both of those are wrong.
http://www.rosscaldwell.com/images/visc ... EAZZO2.JPG
From left (our left) to right, they seem to be:
Filippo Maria Visconti
Gian Galeazzo Visconti (founder)
Ludovico Sforza (who completed it)
Gian Galeazzo Maria Sforza
Just looking at it anyone can recognize Ludovico Sforza ("il Moro") as the first - dark haired - on the right.
Gian (Giovanni) Maria cannot be "the father" with the Church in his hands, since he had no sons, and it is clearly the founder of the Certosa, Gian Galeazzo Visconti, first Duke of Milan.
Gian Galeazzo Maria, who was technically Duke of Milan until his death on October 21, 1494, is portrayed as a light-haired youth (he died at the age of 25) -
Another portrait in the Certosa by Bergognone shows Francesco Sforza and - supposedly - Ludovico Sforza. The
Coronation of the Virgin, where you can make the comparison -
I think the figure on the right, since he is light-haired, must not be Ludovico, however, but Gian Galeazzo II. I would suggest, therefore, that Bergognone made the more important painting of the Coronation before Gian Galeazzo's death, when he was still Duke. I don't think protocol would have allowed him to paint Ludovico in this important place while the real Duke was still alive. Note that in both paintings, the light-haired fellow is holding his hat in his hands, which suggests that whoever it is, Ludovico or Gian Galeazzo II, it is the same person in both paintings.
In the second painting, however, Ludovico is closer to the Virgin, and this painting might thus have been done after Gian Galeazzo's death in 1494.
A second possibility is that the first figure on the right is Galeazzo Maria Sforza, and the far right is Ludovico (but light-haired?).