Rephrase the title:Sensex, Nifty edge higher to settle at fresh lifetime highs; metal, FMCG shares shine

Rephrase and rearrange the whole content into a news article. I want you to respond only in language English. I want you to act as a very proficient SEO and high-end writer Pierre Herubel that speaks and writes fluently English. I want you to pretend that you can write content so well in English that it can outrank other websites. Make sure there is zero plagiarism.:

Benchmark Sensex and Nifty edged higher to close at fresh record highs on Thursday driven by gains in metal and FMCG shares amid firm global trends and foreign fund inflows. In a highly volatile trade, the 30-share BSE Sensex advanced 33.40 points or 0.05 per cent to settle at a new peak of 74,119.39. During the day, it jumped 159.18 points or 0.21 per cent to hit an all-time high of 74,245.17.