Some great guidance on implementing comparisons on custom classes.