The MPSW01G 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 MPSW01G is the MPSW51G.
SMD Version of MPSW01G transistor
The FMMT449 (SOT-23) is the SMD version of the MPSW01G transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.