Thrash:
For accuracy, Winchester Superfield;
155gr @6.3gr
180gr @5.5gr.
Both at 1.125"oal.
For velocity: IMR-800X heavier bullets (180gr)
for lighter bullets (135-155gr) Hodgdon Universal
Also Unique for all, but due to flake size, Unique may not meter well.
Ditto for BlueDot.
In several Glocks I've had (several issued, only own one in .40S&W), the WSF with 155gr Rem HP has been THE most accurate load, with the 180gr slightly behind it. Those are at or just above recommended starting loads, and were at 87% of max when I worked them up in the mid '90's. Curtis Shipely of GaArms put me onto the WSF in .40, although at the time he was using an unspecified Scot powder for production.
Many other powders are usuable, but those are the best I've tried.
FWIW, the velocities listed by Hodgdon for their Longshot data are fantasy, my chronographed numbers were MUCH lower, and approximated what I got with WSF for both starting and Maximum. Top velocity with max listed load was 985fps., or factory equivalent; far below the 1,100+ velocity suggested.