The MPSW05G is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. Here is an image showing the pin diagram of this transistor.
Complementary PNP transistor
The complementary PNP transistor to the MPSW05G is the MPSW55G.
SMD Version of MPSW05G transistor
The MMBTA05 (SOT-23), PZTA05 (SOT-223) and SMBTA05 (SOT-23) is the SMD version of the MPSW05G transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.