Compare two sets of data.