cmp_min_max_by

The tracking issue for this feature is: #64460