Optionalsource: string | number | null
The first comparable
Optionaltarget: string | number | null
The second comparable
Whether a nil (undefined or null) value is considered greater than another non-nil value
1 if source greater than target, -1 if source less than target, 0 if equals
Returns 1 if source greater than target, -1 if source less than target, 0 if equals