Why should the smallest bypass capacitor be placed nearest to the IC?
Because inductive impedance increases with frequency $$Z=j\cdot2\cdot\pi\cdot f\cdot L$$ you need to have lowest inductance (=shortest trace) for highest frequency filtering.