Add custom comparator for sorting contacts by last then first name

Close #2