Barring the auto index, all sectoral indices on the NSE ended in the red, with media, oil & gas, and realty shares declining the most.