1007: DNA Sorting

Note: Divide-and-conquer