Original Post
I have two arrays of objects. I need to compare the two arrays to find out which items are contained in both lists, or which items are unique to a list. I decided that the fastest way to do this would be to have both arrays sorted in some order, but this takes time to sort them, so would it be better to just compare unsorted arrays? Any algorithms for comparing arrays that anyone knows about? If I do sort them what is the fastest algorithm to sort numeric data into accending order?