Modern Headlights

As you look at the back of the rightside-up headlamp with the lens facing away from you, the terminals are:

Left vertical: Common (ground)
Top horizontal: Low beam feed
Right vertical: High beam feed

Which means the socket slots are as follows:

Left vertical: High beam feed
Top horizontal: Low beam feed
Right vertical: Common (ground)