This script will change object sorting order in the 3dsmax viewports. Currently, objects will render in the order created, which creates alpha problems. Select your objects in the order you’d like them to render, run this script, and the sorting order will change to the order in which you selected the objects (objects you want to render on top you should select last).