In old traditional rendering you have to draw all alpha surfaces back to front.
This is my main sort stuff, with lots of code for a planar sort. Distance sorting works well for small surfaces but I use planar for big stuff like huge windows or lakes or big lava pools...