Customized layer ordering