Treat nil values like null in SQL
Sort nil values as if less than any non-nil value