Measuring Social Sorting And Its Association With Affective Polarization