Comparator for proxies