I googled it and found the term Brazil-nut Effect but couldn't found
any proper explanation. What is the physical explanation of this
effect?

I answered another question on granular convection some time ago, this is the physical explanation:
When you shake a mixture you create some gaps between the nuts. Because of gravity, small nuts will fall into the gaps between the other nuts, which are too small to be filled by larger nuts. But these will rise only when the KE from the shake is greater than the PE needed to scale the diameter of one small nut: \textrm{KE} > \textrm{PE} $$ E_k = \frac {1}{2} \cdot mv^2 > \textrm{PE} = mgd \rightarrow v^2 > gd$$
At 1:25 in this video you can see that in 10 seconds all big nuts come on top from the bottom, the nuts make a loop in the cup whose mean radius we can guess r = 2 cm, the frequency of the shakes roughly 4 Hz and the diameter of a nut less than 5 mm, therefore the mean speed is: $$
V_\textrm{nut} = 2\pi \cdot r \cdot \nu = 0.5~\textrm{m/s} \rightarrow 2E_k/m = v^2 = 0.25~\textrm{J} > 0.044~\textrm{J} = \textrm{PE}/m = (9.8 \cdot 0.0045)$$
The kinetic energy is more than 5 times the potential energy and the big nuts come on top
Experiments made in reduced gravity show that this phenomenon is linearly dependent on gravity. This phenomenon can also explain mysterious boulders on asteroids