compare the preferences