Seol mar théacs é seo: Automorphisms of necklaces and sandpile groups