Stav dette: Automorphisms of necklaces and sandpile groups