add optional debug info to Etsums, also fix egamma sorting typo