Implemented sortFacesByMaterial method in OpenGLRender class and related methods