declared sort method and compare predicate for sorting
Move predicate to addresscard
declare and implement compareName predicate for sort