My daughter has had similar issues....what's worked for us is to make up some kind of memory device around which way the letters face (the lower case ones, that is). As in....
"b" is buddies with the other letters, so he always faces them (whereas d turns his back)
or "p" is pals with the other letters, so she always faces them, etc.