Update dpxdt for better sorting, contig sorting