Reorganize samples.