War and rank among nations