Sort contactsObj