Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering instances.