Consumer discretionary sector lifts the market