The hottest July on record and final end-of-season discounting were accompanied by soaring British retail sales, with the biggest boost seen online and department store purchases up for the first time this year.