The A1015 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, collector, and base leads.
pdf.datasheetcatalog.com/datasheet/hsmc/A1015.pdf
pdf.datasheetcatalog.com/datasheet/hsmc/A1015.pdf