To work around the unsorted faces in Trainz you must avoid alpha values aside from 0 or 255. As the windows should not look like holes in the wall of course you must use intermediate alpha values. The visual effect of alpha blended textures is minimzed as the dirt texture is applied only to special window meshes.