Distance and Correlation Measures for Rankings