Sensex ends 2020 on a flat note; Nifty settles at 13,982 | Sharefundss