fixed sorting by associated contact and added cremate for convert the date use system date format