Sectoral gains were led by realty stocks, which rallied nearly 4.8%, followed by infrastructure, energy, pharma and banking