I don't know if this is right or wrong but it is what I do and why when trying to decide on the most effective pistol cartridge for a defensive handgun. First, I pick the type of bullet I want to use based on observed performance of that bullet type for a given caliber. After that, I almost always go for the combination that produces the most muzzle energy and here's why. A slower, heavier bullet usually only surpasses a faster, lighter bullet for performance when long shooting distances are occurring (100 or more yards for a pistol caliber). Given a far enough distance, the slower, heavier bullet with less muzzle energy will surpass the retained energy of the faster, lighter bullet that had more muzzle energy. The reason is that the heavier bullet holds onto it's energy longer than the lighter bullet.
However, at defensive pistol distances, this difference never gets a chance to materialize and the faster, lighter bullet will normally have significantly more energy than the slower, heavier bullet and it's energy that penetrates but more importantly, breaks bones. For a bullet to penetrate, the first thing it has to do for a head or COM shot is break bone. The fact that a heavier bullet may penetrate further in ballistic gelatin is only important if you're planning on gut shooting the BG where no bones will be encountered. Just like in distance through the air, the heavier bullet will penetrate further in tissue because it still is holding onto it's energy longer. But, if the first thing the bullet encounters is heavy bone and it doesn't have enough energy to break through the bone, how long it holds onto it's energy becomes irrelevant.
For your specific question on the 25, it would not appear that it makes much difference. I've tagged energy numbers to the ends of each bullet in your chart and you'll notice that they only range from 63-66 ft. lbs. IMO, not enough difference to matter so I'd probably stay with the heavier bullet so that it would hold onto it's energy for a longer time.
Fiocchi 35-grain XTP HP....... 900 fps, no test barrel length given (63 ft.lbs)
Fiocchi 50-grain FMJ ............800 fps, (65 ft.lbs)
Speer 35-grain GDHP...........900 fps, 2" test barrel (63 ft.lbs)
Winchester 50-grain FMJ......760 fps, no test barrel length given (64 ft.lbs)
Winchester 45-grain Exp. Pt. .815 fps, (66 ft.lbs)
Hornady 35-grain XTP HP......900 fps, 2" test barrel (63 ft.lbs)
For the 40 S&W in my carry gun, the answer would be easier to decide, based on my criteria. For example:
Winchester Ranger 40 S&W 155 Grain JHP (this is actually what I carry)
Muzzle velocity: 1210 fpsRemington Golden Saber Ammunition 40 S&W 165 Grain
Muzzle energy: 502 ft/lb
Muzzle velocity: 1150 fpsRemington Golden Saber Ammunition 40 S&W 180 Grain
Muzzle energy: 485 ft/lb
Muzzle velocity: 1015 fpsThat's almost a 22% increase in energy and that's the reason I carry 155 or 165 grain bullets instead of the 180s.
Muzzle energy: 412 ft/lb
Again, this is only my opinion and why I use what I use. YMMV.