Sorting code for Chico + DGS in the 2013 runs.