How can I implement `aten::kthvalue.values`

I want to implement this operator in MSL / MPS kernel.

I faced the error, operator aten::kthvalue.values is not implemented.

The code which calls it is:

sparsities, accuracies = sensitivity_scan(
    model, dataloader['test'], scan_step=0.1, scan_start=0.4, scan_end=1.0)

Can someone guide me?