It’s not that simple. The client has to send the server the comparison function.
To do anything practical the server usually needs to provide the client with gigabytes of per-client-key encrypted seed data.