Minor change to sort