add sort for material and fix JSON comment parse Error