private ProceduralMaterial[] GetSortedMaterials() { ProceduralMaterial[] materials = this.GetImporter().GetMaterials(); Array.Sort(materials, new SubstanceNameComparer()); return materials; }