$ 0 0 You are getting a new Object every time so they will not be the same. I will have to make the ImageProfile class IComparable.