adds benchmarking spec to clique + uses sort instead of to_set for performance improvement