sortLights = ( lights ) => {

	return lights.sort( ( a, b ) => a.id - b.id );

}
TSL function for getting the light target direction for the given light.

@tsl
@function
@param {Light} light -The light source.
@returns {Node<vec3>} The light's target direction.