Added comparer to manage selection of fields