sort, filter and transform contact