Clearer client hist sort compare func.