int shadowCastingLightsFirst(Light lightA, Light lightB) { return (lightB.castShadow ? 1 : 0) - (lightA.castShadow ? 1 : 0); }