d/control: wrap-and-sort