Limit the comparison functions to have file scope