Among Sensex firms, State Bank of India, Bharat Electronics, Kotak Mahindra Bank, Maruti, Trent and UltraTech Cement were the major gainers.