Allow null comparer to be passed to Sort

Sort methods on Array, List<T>, and other collections accept null comparers. This is not the case for immutable collections, despite what the doc comments claim. This change fixes the inconsistency by allowing null comparers being passed to Sort methods of the immutable collections.