The mercury ticked over 42 degrees across Sydney on Thursday as the heatwave began to worsen before the weekend.