EntityLayers have a sort function that affect the render order