I think that shaking the sun-dried clothes will shake off the fortune, which is actually a psychological effect of personal subconscious.
In fact, shaking clothes after drying can shake off some dust or bugs accidentally left on clothes, while shaking wet clothes before drying can properly speed up drying, so that dried clothes look straighter and not too wrinkled.