Combine qpt patches, and reorder patches