Need to make comparator to follow strict-weak ordering to fix compiler crashes. Fixes #138178
__hipstdpar_hidden_malloc