When objects of different sizes are mixed and subjected to shaking, the larger objects tend to rise to the top, leaving the smaller ones at the bottom. This produces a density gradient (or, more accurately, a 'packing gradient') - with the lower part of the container densely packed.