I'm looking at someone elses code for a custom comparer that compares strings.
I'm noticing that it will fall over if at least one of the string parameters is null.
The compare returns -1, 0 or 1 based on the result of the comparison.
Should code like this be fixed to handle nulls and if so what should it return if one of the parameters was null?