Both smallcap and midcap indices staged resilience; On the sectoral front, realty index dragged the most, down over 2.5%