move the samples to the top