sort GL triangles in the right order for alpha channel.

(Not actually visually tested because the ordering doesn't
make a difference in the current display.  And it can't
be perfect, but it can be decent.)