A woman whose four young boys died in a fire after she left them home alone to go to Sainsbury’s will be sentenced later.