Unsupervised Contrast-Consistent Ranking with Language Models