Fix copy for sort types