[tor-commits] [metrics-lib/release] Replace Comparator with lambda.