sorting the destination records