Soft Condorcet Optimization for Ranking of General Agents