The procedure ad_sort_primary_key is not defined in the server.

Show another procedure: