The convention, now, seems to be to put the ground pin on top. I am not entirely sure when that became the convention, however, as it seemed to be the other way around when I was a child (with the ground pin on the bottom). I think I was a teenager when I started seeing the sockets installed "upside down."