no, its just the numerical order that Maya uses. Not lambert first, phong last, just the order in which you create the materials. For some reason, there is a bug that breaks the material writing loop if it finds an incandescent material. I'm working on fixing it now.
Live the life you love, love the life you live