Comparer with ideal clustering